public interface Context<A extends Application>
A application()
Context<A> input(int id, Input.Poller poller)
Output output()
PeekableMessageLog<Command> commandLog()
Context<A> commandLog(PeekableMessageLog<Command> commandLog)
MessageLog<Event> eventLog()
Context<A> eventLog(MessageLog<Event> eventLog)
Context<A> plugin(Plugin.Builder<? super A> plugin)
List<Plugin.Builder<? super A>> plugins()
TimeSource timeSource()
Context<A> timeSource(TimeSource timeSource)
ExceptionHandler exceptionHandler()
Context<A> exceptionHandler(ExceptionHandler exceptionHandler)
DuplicateHandler duplicateHandler()
Context<A> duplicateHandler(DuplicateHandler duplicateHandler)
IdleStrategy idleStrategy()
Context<A> idleStrategy(IdleStrategy idleStrategy)
ThreadFactory threadFactory()
Context<A> threadFactory(ThreadFactory threadFactory)
static <A extends Application> Context<A> create(A application)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.