Uses of Interface
io.axoniq.axonserver.connector.Registration
-
-
Uses of Registration in io.axoniq.axonserver.connector
Methods in io.axoniq.axonserver.connector that return Registration Modifier and Type Method Description default RegistrationRegistration. awaitAck(long timeout, TimeUnit unit)Wait for the acknowledgement of the original instructionthisRegistrationcorresponds to.default RegistrationRegistration. onAck(Runnable runnable)Registers the givenrunnabletothisRegistrationto be executed when the acknowledgement ofthisRegistrationis received.default RegistrationRegistration. onAck(Consumer<Optional<Throwable>> action)Registers the givenrunnabletothisRegistrationto be executed when the acknowledgement ofthisRegistrationis received. -
Uses of Registration in io.axoniq.axonserver.connector.command
Methods in io.axoniq.axonserver.connector.command that return Registration Modifier and Type Method Description RegistrationCommandChannel. registerCommandHandler(Function<Command,CompletableFuture<CommandResponse>> handler, int loadFactor, String... commandNames)Registers the givenhandlerto handle incoming commands with givencommandNames, using the givenloadFactor. -
Uses of Registration in io.axoniq.axonserver.connector.command.impl
Methods in io.axoniq.axonserver.connector.command.impl that return Registration Modifier and Type Method Description RegistrationCommandChannelImpl. registerCommandHandler(Function<Command,CompletableFuture<CommandResponse>> handler, int loadFactor, String... commandNames) -
Uses of Registration in io.axoniq.axonserver.connector.control
Methods in io.axoniq.axonserver.connector.control that return Registration Modifier and Type Method Description RegistrationControlChannel. 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.RegistrationControlChannel. registerInstructionHandler(PlatformOutboundInstruction.RequestCase type, InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> handler)Registers the givenhandlerto handle a giventypeof instruction.RegistrationControlChannel. registerTopologyChangeHandler(Consumer<TopologyChange> handler)Registers a handler for changes in the topology of AxonServer. -
Uses of Registration in io.axoniq.axonserver.connector.impl
Classes in io.axoniq.axonserver.connector.impl that implement Registration Modifier and Type Class Description classAsyncRegistrationAsynchronous implementation of theRegistration.classSyncRegistrationSynchronous implementation of theRegistration.Methods in io.axoniq.axonserver.connector.impl that return Registration Modifier and Type Method Description RegistrationAsyncRegistration. awaitAck(long timeout, TimeUnit unit)RegistrationAsyncRegistration. onAck(Runnable runnable)RegistrationAsyncRegistration. onAck(Consumer<Optional<Throwable>> action)RegistrationControlChannelImpl. registerEventProcessor(String processorName, Supplier<EventProcessorInfo> infoSupplier, ProcessorInstructionHandler instructionHandler)RegistrationControlChannelImpl. registerInstructionHandler(PlatformOutboundInstruction.RequestCase type, InstructionHandler<PlatformOutboundInstruction,PlatformInboundInstruction> handler)RegistrationControlChannelImpl. registerTopologyChangeHandler(Consumer<TopologyChange> handler) -
Uses of Registration in io.axoniq.axonserver.connector.query
Methods in io.axoniq.axonserver.connector.query that return Registration Modifier and Type Method Description RegistrationQueryChannel. registerQueryHandler(QueryHandler handler, QueryDefinition... queryTypes)Registers the givenhandlerto handle incoming queries defined through the givenqueryTypes.default RegistrationQueryHandler. registerSubscriptionQuery(SubscriptionQuery query, QueryHandler.UpdateHandler updateHandler)Registers an incoming subscription query request, represented by givenquery, using givenupdateHandlerto send updates when the projection for this query changes. -
Uses of Registration in io.axoniq.axonserver.connector.query.impl
Methods in io.axoniq.axonserver.connector.query.impl that return Registration Modifier and Type Method Description RegistrationQueryChannelImpl. registerQueryHandler(QueryHandler handler, QueryDefinition... queryDefinitions)
-