protected static class EventProcessorControlService.AxonProcessorInstructionHandler extends Object implements io.axoniq.axonserver.connector.control.ProcessorInstructionHandler
Constructor and Description |
---|
AxonProcessorInstructionHandler(EventProcessor processor,
String name) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
mergeSegment(int segmentId) |
CompletableFuture<Void> |
pauseProcessor() |
CompletableFuture<Boolean> |
releaseSegment(int segmentId) |
CompletableFuture<Boolean> |
splitSegment(int segmentId) |
CompletableFuture<Void> |
startProcessor() |
public AxonProcessorInstructionHandler(EventProcessor processor, String name)
public CompletableFuture<Boolean> releaseSegment(int segmentId)
releaseSegment
in interface io.axoniq.axonserver.connector.control.ProcessorInstructionHandler
public CompletableFuture<Boolean> splitSegment(int segmentId)
splitSegment
in interface io.axoniq.axonserver.connector.control.ProcessorInstructionHandler
public CompletableFuture<Boolean> mergeSegment(int segmentId)
mergeSegment
in interface io.axoniq.axonserver.connector.control.ProcessorInstructionHandler
public CompletableFuture<Void> pauseProcessor()
pauseProcessor
in interface io.axoniq.axonserver.connector.control.ProcessorInstructionHandler
public CompletableFuture<Void> startProcessor()
startProcessor
in interface io.axoniq.axonserver.connector.control.ProcessorInstructionHandler
Copyright © 2010–2023. All rights reserved.