Uses of Class
de.quantummaid.eventmaid.processingcontext.EventType
-
-
Uses of EventType in de.quantummaid.eventmaid.messagebus
Methods in de.quantummaid.eventmaid.messagebus that return types with arguments of type EventType Modifier and Type Method Description Map<EventType,List<Subscriber<?>>>MessageBusStatusInformation. getSubscribersPerType()Returns allSubscribersgrouped by their subscribed classes.Methods in de.quantummaid.eventmaid.messagebus with parameters of type EventType Modifier and Type Method Description Channel<Object>MessageBusStatusInformation. getChannelFor(EventType eventType)Returns theEventTypespecificChannelfor the given type ornullif the type has not yet been sent or subscribed.SubscriptionIdMessageBus. onException(EventType eventType, MessageBusExceptionListener exceptionListener)Adds a dynamicMessageBusExceptionListenerfor the messages with theEventTypeMessageIdMessageBus. send(EventType eventType, Object object)Sends the message with the givenEventType.MessageIdMessageBus. send(EventType eventType, Object object, CorrelationId correlationId)Sends the message with the givenEventType.SubscriptionIdMessageBus. subscribe(EventType eventType, Subscriber<Object> subscriber)Adds the givenSubscriberfor all messages with a matchingEventType.SubscriptionIdMessageBus. subscribe(EventType eventType, Consumer<Object> consumer)SubscriptionIdMessageBus. subscribeRaw(EventType eventType, Subscriber<ProcessingContext<Object>> subscriber)Adds theSubscriberobject for all messages with a matchingEventType.SubscriptionIdMessageBus. subscribeRaw(EventType eventType, Consumer<ProcessingContext<Object>> consumer) -
Uses of EventType in de.quantummaid.eventmaid.messagebus.channelcreating
Methods in de.quantummaid.eventmaid.messagebus.channelcreating with parameters of type EventType Modifier and Type Method Description Channel<Object>MessageBusChannelFactory. createChannel(EventType eventType, Subscriber<?> subscriber, MessageBusExceptionHandler messageBusExceptionHandler)This method is being called, when a newChannelis requested.Channel<Object>SynchronousMessageBusChannelFactory. createChannel(EventType eventType, Subscriber<?> subscriber, MessageBusExceptionHandler messageBusExceptionHandler) -
Uses of EventType in de.quantummaid.eventmaid.messagebus.internal
Methods in de.quantummaid.eventmaid.messagebus.internal that return types with arguments of type EventType Modifier and Type Method Description Map<EventType,List<Subscriber<?>>>MessageBusStatusInformationAdapter. getSubscribersPerType()Methods in de.quantummaid.eventmaid.messagebus.internal with parameters of type EventType Modifier and Type Method Description Channel<Object>MessageBusStatusInformationAdapter. getChannelFor(EventType eventType) -
Uses of EventType in de.quantummaid.eventmaid.messagebus.internal.brokering
Methods in de.quantummaid.eventmaid.messagebus.internal.brokering that return types with arguments of type EventType Modifier and Type Method Description Map<EventType,List<Subscriber<?>>>MessageBusBrokerStrategy. getSubscribersPerType()Map<EventType,List<Subscriber<?>>>MessageBusBrokerStrategyImpl. getSubscribersPerType()Methods in de.quantummaid.eventmaid.messagebus.internal.brokering with parameters of type EventType Modifier and Type Method Description voidMessageBusBrokerStrategy. addRawSubscriber(EventType eventType, Subscriber<ProcessingContext<Object>> subscriber)voidMessageBusBrokerStrategyImpl. addRawSubscriber(EventType eventType, Subscriber<ProcessingContext<Object>> subscriber)voidMessageBusBrokerStrategy. addSubscriber(EventType eventType, Subscriber<Object> subscriber)voidMessageBusBrokerStrategyImpl. addSubscriber(EventType eventType, Subscriber<Object> subscriber)Channel<Object>MessageBusBrokerStrategy. getDeliveringChannelFor(EventType eventType)Channel<Object>MessageBusBrokerStrategyImpl. getDeliveringChannelFor(EventType eventType) -
Uses of EventType in de.quantummaid.eventmaid.messagebus.internal.exception
Methods in de.quantummaid.eventmaid.messagebus.internal.exception with parameters of type EventType Modifier and Type Method Description SubscriptionIdExceptionListenerHandler. register(EventType eventType, MessageBusExceptionListener exceptionListener)SubscriptionIdExceptionListenerHandlerImpl. register(EventType eventType, MessageBusExceptionListener exceptionListener) -
Uses of EventType in de.quantummaid.eventmaid.messagefunction
Methods in de.quantummaid.eventmaid.messagefunction with parameters of type EventType Modifier and Type Method Description ResponseFutureMessageFunction. request(EventType eventType, Object request)Sends the given request over theMessageBus. -
Uses of EventType in de.quantummaid.eventmaid.processingcontext
Methods in de.quantummaid.eventmaid.processingcontext that return EventType Modifier and Type Method Description static EventTypeEventType. eventTypeFromClass(Class<?> aClass)Creates a newEventTypefrom the canonical name of theClass.static EventTypeEventType. eventTypeFromObjectClass(Object object)Creates a newEventTypefrom the canonical name of the object'sClass.static EventTypeEventType. eventTypeFromString(String value)Creates a newEventTypefrom the given string.EventTypeProcessingContext. getEventType()Methods in de.quantummaid.eventmaid.processingcontext with parameters of type EventType Modifier and Type Method Description static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, MessageId messageId, CorrelationId correlationId, T payload, Object errorPayload)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, MessageId messageId, CorrelationId correlationId, T payload, Object errorPayload, Map<Object,Object> contextMetaData, ChannelProcessingFrame<T> initialProcessingFrame, ChannelProcessingFrame<T> currentProcessingFrame)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, MessageId messageId, T payload)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, T payload)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContext(EventType eventType, T payload, CorrelationId correlationId)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContextForError(EventType eventType, Object errorPayload)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContextForPayloadAndError(EventType eventType, CorrelationId correlationId, T payload, Object errorPayload)Factory method to create a newProcessingContext.static <T> ProcessingContext<T>ProcessingContext. processingContextForPayloadAndError(EventType eventType, T payload, Object errorPayload)Factory method to create a newProcessingContext. -
Uses of EventType in de.quantummaid.eventmaid.serializedmessagebus
Methods in de.quantummaid.eventmaid.serializedmessagebus with parameters of type EventType Modifier and Type Method Description PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWait(EventType eventType, Object data)Sends the data and waits for a matching response or an exception.PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWait(EventType eventType, Object data, long timeout, TimeUnit unit)Sends the data and waits for a matching response, an exception or the timeout to expire.PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWait(EventType eventType, Object data)PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWait(EventType eventType, Object data, long timeout, TimeUnit unit)<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBus. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass)Serializes and sends the data on theMessageBus.<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBus. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass, long timeout, TimeUnit unit)Serializes and sends the data on theMessageBus.<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBusImpl. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass)<P,E>
PayloadAndErrorPayload<P,E>SerializedMessageBusImpl. invokeAndWaitDeserialized(EventType eventType, Object data, Class<P> responseClass, Class<E> errorPayloadClass, long timeout, TimeUnit unit)PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWaitSerializedOnly(EventType eventType, Object data)Serializes the data before sending it and waiting for a matching response or an exception.PayloadAndErrorPayload<Object,Object>SerializedMessageBus. invokeAndWaitSerializedOnly(EventType eventType, Object data, long timeout, TimeUnit unit)Serializes the data before sending it and waiting for a matching response, an exception or the expiration of the timeout.PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWaitSerializedOnly(EventType eventType, Object data)PayloadAndErrorPayload<Object,Object>SerializedMessageBusImpl. invokeAndWaitSerializedOnly(EventType eventType, Object data, long timeout, TimeUnit unit)MessageIdSerializedMessageBus. send(EventType eventType, Object data)Sends the given data in form of aMapon theMessageBuswith theEventType.MessageIdSerializedMessageBus. send(EventType eventType, Object data, CorrelationId correlationId)Sends the given data in form of aMapon theMessageBuswith theEventTypeandCorrelationIdset.MessageIdSerializedMessageBus. send(EventType eventType, Object data, Object errorData)Sends the given data and error data both in form of aMapon theMessageBuswith theEventType.MessageIdSerializedMessageBus. send(EventType eventType, Object data, Object errorData, CorrelationId correlationId)Sends the given data and error data both in form of aMapon theMessageBuswith theEventTypeandCorrelationId.MessageIdSerializedMessageBusImpl. send(EventType eventType, Object data)MessageIdSerializedMessageBusImpl. send(EventType eventType, Object data, CorrelationId correlationId)MessageIdSerializedMessageBusImpl. send(EventType eventType, Object data, Object errorData)MessageIdSerializedMessageBusImpl. send(EventType eventType, Object data, Object errorData, CorrelationId correlationId)MessageIdSerializedMessageBus. serializeAndSend(EventType eventType, Object data)MessageIdSerializedMessageBus. serializeAndSend(EventType eventType, Object data, CorrelationId correlationId)Serializes the data to aMapand then sends it with theEventTypeandCorrelationIdon theMessageBus.MessageIdSerializedMessageBus. serializeAndSend(EventType eventType, Object data, Object errorData)Serializes the data and error data to aMapand then sends both with theEventTypeon theMessageBus.MessageIdSerializedMessageBus. serializeAndSend(EventType eventType, Object data, Object errorData, CorrelationId correlationId)Serializes the data and error data to aMapand then sends both with theEventTypeandCorrelationIdon theMessageBus.MessageIdSerializedMessageBusImpl. serializeAndSend(EventType eventType, Object data)MessageIdSerializedMessageBusImpl. serializeAndSend(EventType eventType, Object data, CorrelationId correlationId)MessageIdSerializedMessageBusImpl. serializeAndSend(EventType eventType, Object data, Object errorData)MessageIdSerializedMessageBusImpl. serializeAndSend(EventType eventType, Object data, Object errorData, CorrelationId correlationId)SubscriptionIdSerializedMessageBus. subscribe(EventType eventType, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)Adds the givenSubscriberfor all not deserialized messages of the givenEventType.SubscriptionIdSerializedMessageBusImpl. subscribe(EventType eventType, Subscriber<PayloadAndErrorPayload<Map<String,Object>,Map<String,Object>>> subscriber)<P,E>
SubscriptionIdSerializedMessageBus. subscribeDeserialized(EventType eventType, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass)Adds the givenSubscriberfor all messages of the givenEventType.<P,E>
SubscriptionIdSerializedMessageBusImpl. subscribeDeserialized(EventType eventType, Subscriber<PayloadAndErrorPayload<P,E>> subscriber, Class<P> responseClass, Class<E> errorClass)SubscriptionIdSerializedMessageBus. subscribeRaw(EventType eventType, Subscriber<ProcessingContext<Map<String,Object>>> subscriber)Adds theSubscriberwith access to the rawProcessingContextfor all messages of theEventType.SubscriptionIdSerializedMessageBusImpl. subscribeRaw(EventType eventType, Subscriber<ProcessingContext<Map<String,Object>>> subscriber) -
Uses of EventType in de.quantummaid.eventmaid.usecases.building
Methods in de.quantummaid.eventmaid.usecases.building with parameters of type EventType Modifier and Type Method Description Step3Builder<U>Step2Builder. forType(EventType eventType)Defines theEventTypeto invoke the use case for. -
Uses of EventType in de.quantummaid.eventmaid.usecases.usecaseadapter
Fields in de.quantummaid.eventmaid.usecases.usecaseadapter declared as EventType Modifier and Type Field Description static EventTypeUseCaseInvokingResponseEventType. USE_CASE_RESPONSE_EVENT_TYPETheEventType, on which response from use cases invoked by theUseCaseBusorUseCaseAdapterare send back.Methods in de.quantummaid.eventmaid.usecases.usecaseadapter with parameters of type EventType Modifier and Type Method Description <U> voidLowLevelUseCaseAdapterBuilder. addUseCase(Class<U> useCaseClass, EventType eventType, Caller<U> caller) -
Uses of EventType in de.quantummaid.eventmaid.usecases.usecasebus
Methods in de.quantummaid.eventmaid.usecases.usecasebus with parameters of type EventType Modifier and Type Method Description <P,E>
PayloadAndErrorPayload<P,E>UseCaseBus. invokeAndWait(EventType eventType, Object data, Class<P> payloadClass, Class<E> errorPayloadClass, long timeout, TimeUnit unit)Invokes the correct use case based on theEventTypewith the send data, which is serialized before sending it.PayloadAndErrorPayload<Object,Object>UseCaseBus. invokeAndWaitNotDeserialized(EventType eventType, Object data, long timeout, TimeUnit unit)Invokes the correct use case based on theEventTypewith the send data, which is serialized before sending it.
-