public abstract class ProcessorInstructions extends Object
InstructionHandler instances for event processor instructions.| Modifier and Type | Method and Description |
|---|---|
static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> |
mergeHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
Provides a
InstructionHandler which handles a processor's merge request from AxonServer and sends it to
the right client(s). |
static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> |
pauseHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
Provides a
InstructionHandler which handles a processor's pause request from AxonServer and sends it to
the right client(s). |
static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> |
releaseSegmentHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
Provides a
InstructionHandler which handles a processor's release segment request from AxonServer and
sends it to the right client(s). |
static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> |
requestInfoHandler(Map<String,Supplier<EventProcessorInfo>> infoSuppliers)
Provides a
InstructionHandler which handles a processor's information request from AxonServer and sends
it to the right client(s). |
static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> |
splitHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
Provides a
InstructionHandler which handles a processor's split request from AxonServer and sends it to
the right client(s). |
static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> |
startHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
Provides a
InstructionHandler which handles a processor's start request from AxonServer and sends it to
the right client(s). |
public static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> mergeHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
InstructionHandler which handles a processor's merge request from AxonServer and sends it to
the right client(s).instructionHandlers - the collection of instruction handler instances to retrieve the ProcessorInstructionHandler from to execute the actual ProcessorInstructionHandler.mergeSegment(int) operationInstructionHandler to delegate the merge request withpublic static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> splitHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
InstructionHandler which handles a processor's split request from AxonServer and sends it to
the right client(s).instructionHandlers - the collection of instruction handler instances to retrieve the ProcessorInstructionHandler from to execute the actual ProcessorInstructionHandler.splitSegment(int) operationInstructionHandler to delegate the split request withpublic static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> startHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
InstructionHandler which handles a processor's start request from AxonServer and sends it to
the right client(s).instructionHandlers - the collection of instruction handler instances to retrieve the ProcessorInstructionHandler from to execute the actual ProcessorInstructionHandler.startProcessor() operationInstructionHandler to delegate the start request withpublic static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> pauseHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
InstructionHandler which handles a processor's pause request from AxonServer and sends it to
the right client(s).instructionHandlers - the collection of instruction handler instances to retrieve the ProcessorInstructionHandler from to execute the actual ProcessorInstructionHandler.pauseProcessor() operationInstructionHandler to delegate the pause request withpublic static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> releaseSegmentHandler(Map<String,ProcessorInstructionHandler> instructionHandlers)
InstructionHandler which handles a processor's release segment request from AxonServer and
sends it to the right client(s).instructionHandlers - the collection of instruction handler instances to retrieve the ProcessorInstructionHandler from to execute the actual ProcessorInstructionHandler.releaseSegment(int)} operationInstructionHandler to delegate the release segment request withpublic static InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> requestInfoHandler(Map<String,Supplier<EventProcessorInfo>> infoSuppliers)
InstructionHandler which handles a processor's information request from AxonServer and sends
it to the right client(s).infoSuppliers - the collection of EventProcessorInfo supplier instances to retrieve the right
instance to pull information fromInstructionHandler to delegate the processor information request withCopyright © 2020–2023 AxonIQ BV. All rights reserved.