| Modifier and Type | Method and Description |
|---|---|
default Registration |
Registration.awaitAck(long timeout,
TimeUnit unit)
Wait for the acknowledgement of the original instruction
this Registration corresponds to. |
default Registration |
Registration.onAck(Runnable runnable)
Registers the given
runnable to this Registration to be executed when the acknowledgement
of this Registration is received. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
CommandChannel.registerCommandHandler(Function<Command,CompletableFuture<CommandResponse>> handler,
int loadFactor,
String... commandNames)
Registers the given
handler to handle incoming commands with given commandNames, using the given
loadFactor. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
CommandChannelImpl.registerCommandHandler(Function<Command,CompletableFuture<CommandResponse>> handler,
int loadFactor,
String... commandNames) |
| Modifier and Type | Method and Description |
|---|---|
Registration |
ControlChannel.registerEventProcessor(String processorName,
Supplier<EventProcessorInfo> infoSupplier,
ProcessorInstructionHandler instructionHandler)
Registers an Event Processor with AxonServer, allowing AxonServer to request status information and provide
instructions for the Processor.
|
Registration |
ControlChannel.registerInstructionHandler(PlatformOutboundInstruction.RequestCase type,
InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> handler)
Registers the given
handler to handle a given type of instruction. |
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncRegistration
Asynchronous implementation of the
Registration. |
class |
SyncRegistration
Synchronous implementation of the
Registration. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
AsyncRegistration.awaitAck(long timeout,
TimeUnit unit) |
Registration |
AsyncRegistration.onAck(Runnable runnable) |
Registration |
ControlChannelImpl.registerEventProcessor(String processorName,
Supplier<EventProcessorInfo> infoSupplier,
ProcessorInstructionHandler instructionHandler) |
Registration |
ControlChannelImpl.registerInstructionHandler(PlatformOutboundInstruction.RequestCase type,
InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> handler) |
| Modifier and Type | Method and Description |
|---|---|
Registration |
QueryChannel.registerQueryHandler(QueryHandler handler,
QueryDefinition... queryTypes)
Registers the given
handler to handle incoming queries defined through the given queryTypes. |
default Registration |
QueryHandler.registerSubscriptionQuery(SubscriptionQuery query,
QueryHandler.UpdateHandler updateHandler)
Registers an incoming subscription query request, represented by given
query, using given updateHandler to send updates when the projection for this query changes. |
| Modifier and Type | Method and Description |
|---|---|
Registration |
QueryChannelImpl.registerQueryHandler(QueryHandler handler,
QueryDefinition... queryDefinitions) |
Copyright © 2020–2023 AxonIQ BV. All rights reserved.