protected DeDuplicatingReceiveActor(DeDuplicatingReceiverSettings settings) { // force the serializer settings to be injected, if they haven't been already ExtraPersistence.For(Context.System); Settings = settings; _receiverState = CreateInitialState(settings); _pruneTask = CreatePruneTask(); BuiltInRecovers(); BuiltInCommands(); }
internal static IReceiverState CreateInitialState(DeDuplicatingReceiverSettings settings) { // TODO: add support for StrictOrdering state return(new UnorderedReceiverState(settings.TimeProvider, settings.BufferSizePerSender)); }