Uses of Interface
io.fluxcapacitor.common.handling.HandlerInvoker
Packages that use HandlerInvoker
Package
Description
-
Uses of HandlerInvoker in io.fluxcapacitor.common.handling
Classes in io.fluxcapacitor.common.handling that implement HandlerInvokerModifier and TypeClassDescriptionprotected class
static class
AHandlerInvoker
that delegates all behavior to another instance.static final class
A simple invoker backed by aCallable
, typically used for test utilities or framework-internal logic.Fields in io.fluxcapacitor.common.handling declared as HandlerInvokerModifier and TypeFieldDescriptionprotected final HandlerInvoker
HandlerInvoker.DelegatingHandlerInvoker.delegate
Methods in io.fluxcapacitor.common.handling that return HandlerInvokerModifier and TypeMethodDescriptiondefault HandlerInvoker
HandlerInvoker.andFinally
(HandlerInvoker other) Composes this invoker with another to be invoked in afinally
block.static HandlerInvoker
Wraps aCallable
in aHandlerInvoker
.static HandlerInvoker
HandlerInvoker.noOp()
Returns a no-op invoker that performs no action and returnsnull
.static HandlerInvoker
HandlerInvoker.run
(ThrowingRunnable task) Wraps aThrowingRunnable
in aHandlerInvoker
.Methods in io.fluxcapacitor.common.handling that return types with arguments of type HandlerInvokerModifier and TypeMethodDescriptionDefaultHandler.getInvoker
(M message) Handler.getInvoker
(M message) Returns aHandlerInvoker
capable of processing the given message, if available.HandlerInspector.MethodHandlerMatcher.getInvoker
(Object target, M m) HandlerInspector.ObjectHandlerMatcher.getInvoker
(Object target, M message) HandlerMatcher.getInvoker
(T target, M message) Attempts to resolve aHandlerInvoker
for the given target instance and message.static Optional
<HandlerInvoker> HandlerInvoker.join
(List<? extends HandlerInvoker> invokers) Joins a list of invokers into a single composite invoker.protected Optional
<Function<Object, HandlerInvoker>> HandlerInspector.MethodHandlerMatcher.prepareInvoker
(M m) Methods in io.fluxcapacitor.common.handling with parameters of type HandlerInvokerModifier and TypeMethodDescriptiondefault HandlerInvoker
HandlerInvoker.andFinally
(HandlerInvoker other) Composes this invoker with another to be invoked in afinally
block.Method parameters in io.fluxcapacitor.common.handling with type arguments of type HandlerInvokerModifier and TypeMethodDescriptionstatic Optional
<HandlerInvoker> HandlerInvoker.join
(List<? extends HandlerInvoker> invokers) Joins a list of invokers into a single composite invoker. -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.common
Methods in io.fluxcapacitor.javaclient.common with parameters of type HandlerInvokerModifier and TypeMethodDescriptionstatic Optional
<LocalHandler> ClientUtils.getLocalHandlerAnnotation
(HandlerInvoker handlerInvoker) Retrieves theLocalHandler
annotation associated with a given handler, from its method, its declaring class, or ancestral package, if present.static boolean
ClientUtils.isLocalHandler
(HandlerInvoker invoker, HasMessage message) Determines if the specified handler method handles messages locally.static boolean
ClientUtils.isLocalSelfHandler
(HandlerInvoker invoker, HasMessage message) Returns whether the handler method should only handle messages from the same instance ("self"). -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.modeling
Methods in io.fluxcapacitor.javaclient.modeling that return types with arguments of type HandlerInvokerModifier and TypeMethodDescriptionDefaultEntityHelper.applyInvoker
(DeserializingMessage event, Entity<?> entity, boolean searchChildren) Finds a handler method annotated with@Apply
and wraps it to preserve apply context flags.default Optional
<HandlerInvoker> EntityHelper.applyInvoker
(DeserializingMessage message, Entity<?> entity) Returns an invoker that can apply the given event to the provided entity.EntityHelper.applyInvoker
(DeserializingMessage message, Entity<?> entity, boolean searchChildren) Returns an invoker for applying the event to the entity, optionally checking nested entities.protected Optional
<HandlerInvoker> DefaultEntityHelper.getInterceptInvoker
(DefaultEntityHelper.MessageWithEntity m) Recursively resolves the best-matching interceptor method, including nested members. -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.publishing.dataprotection
Methods in io.fluxcapacitor.javaclient.publishing.dataprotection with parameters of type HandlerInvokerModifier and TypeMethodDescriptionDataProtectionInterceptor.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.scheduling
Methods in io.fluxcapacitor.javaclient.scheduling with parameters of type HandlerInvokerModifier and TypeMethodDescriptionSchedulingInterceptor.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.tracking
Methods in io.fluxcapacitor.javaclient.tracking that return types with arguments of type HandlerInvokerModifier and TypeMethodDescriptionprotected Optional
<HandlerInvoker> DefaultTracking.getInvoker
(DeserializingMessage message, Handler<DeserializingMessage> handler, ConsumerConfiguration config) Methods in io.fluxcapacitor.javaclient.tracking with parameters of type HandlerInvokerModifier and TypeMethodDescriptionprotected Object
DefaultTracking.handle
(DeserializingMessage message, HandlerInvoker h, Handler<DeserializingMessage> handler, ConsumerConfiguration config) protected Object
DefaultTracking.processError
(Throwable e, DeserializingMessage message, HandlerInvoker h, Handler<DeserializingMessage> handler, ConsumerConfiguration config) protected void
DefaultTracking.reportResult
(Object result, HandlerInvoker h, DeserializingMessage message, ConsumerConfiguration config) protected boolean
DefaultTracking.shouldSendResponse
(HandlerInvoker invoker, DeserializingMessage request, Object result, ConsumerConfiguration config) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.tracking.handling
Classes in io.fluxcapacitor.javaclient.tracking.handling that implement HandlerInvokerModifier and TypeClassDescriptionprotected class
protected class
Methods in io.fluxcapacitor.javaclient.tracking.handling that return types with arguments of type HandlerInvokerModifier and TypeMethodDescriptionDocumentHandlerDecorator.DocumentHandler.getInvoker
(DeserializingMessage message) HandlerInterceptor.InterceptedHandler.getInvoker
(DeserializingMessage message) MutableHandler.getInvoker
(M message) StatefulHandler.getInvoker
(DeserializingMessage message) Methods in io.fluxcapacitor.javaclient.tracking.handling with parameters of type HandlerInvokerModifier and TypeMethodDescriptionprotected boolean
StatefulHandler.alreadyFiltered
(HandlerInvoker i) HandlerInterceptor.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) Intercepts the message handling logic.protected boolean
LocalHandlerRegistry.logMessage
(HandlerInvoker invoker) Determines whether a handler allows its message to be sent to the Flux platform.Constructors in io.fluxcapacitor.javaclient.tracking.handling with parameters of type HandlerInvokerModifierConstructorDescriptionDocumentHandlerInvoker
(HandlerInvoker delegate, String collection, DeserializingMessage message) StatefulHandlerInvoker
(HandlerInvoker delegate, Entry<?> currentEntry, DeserializingMessage message) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.tracking.handling.authentication
Methods in io.fluxcapacitor.javaclient.tracking.handling.authentication with parameters of type HandlerInvokerModifier and TypeMethodDescriptionAuthenticatingInterceptor.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.tracking.handling.errorreporting
Methods in io.fluxcapacitor.javaclient.tracking.handling.errorreporting with parameters of type HandlerInvokerModifier and TypeMethodDescriptionErrorReportingInterceptor.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) protected void
ErrorReportingInterceptor.reportError
(Throwable e, HandlerInvoker invoker, DeserializingMessage cause) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.tracking.handling.validation
Methods in io.fluxcapacitor.javaclient.tracking.handling.validation with parameters of type HandlerInvokerModifier and TypeMethodDescriptionValidatingInterceptor.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.tracking.metrics
Methods in io.fluxcapacitor.javaclient.tracking.metrics with parameters of type HandlerInvokerModifier and TypeMethodDescriptionDisableMetrics.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) HandlerMonitor.interceptHandling
(Function<DeserializingMessage, Object> function, HandlerInvoker invoker) protected boolean
HandlerMonitor.logMetrics
(HandlerInvoker invoker, HasMessage message) protected boolean
HandlerMonitor.metricsDisabled
(HandlerInvoker invoker) protected void
HandlerMonitor.publishMetrics
(HandlerInvoker invoker, DeserializingMessage message, boolean exceptionalResult, Instant start, Object result) -
Uses of HandlerInvoker in io.fluxcapacitor.javaclient.web
Methods in io.fluxcapacitor.javaclient.web that return types with arguments of type HandlerInvokerModifier and TypeMethodDescriptionSocketEndpointHandler.getInvoker
(DeserializingMessage message) WebHandlerMatcher.getInvoker
(Object target, DeserializingMessage message) DefaultSocketSession.tryCompleteRequest
(DeserializingMessage message) DefaultSocketSession.tryHandleRequest
(DeserializingMessage message, Handler<DeserializingMessage> handler)