Package | Description |
---|---|
org.axonframework.axonserver.connector.event.axon | |
org.axonframework.config | |
org.axonframework.eventhandling |
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus . |
org.axonframework.eventsourcing |
Classes related to event sourcing.
|
org.axonframework.eventsourcing.eventstore |
Definitions and implementations of the Event store, the mechanism that can load event streams and append events to
them.
|
org.axonframework.eventsourcing.eventstore.inmemory |
Modifier and Type | Method and Description |
---|---|
TrackedEventMessage<?> |
EventBuffer.nextAvailable() |
Modifier and Type | Method and Description |
---|---|
StreamableMessageSource<TrackedEventMessage<?>> |
AxonServerEventStore.createStreamableMessageSourceForContext(String context)
Creates a
StreamableMessageSource that streams events from the given context , rather than the
default context the application was configured to connect to. |
Optional<TrackedEventMessage<?>> |
EventBuffer.peek() |
Modifier and Type | Method and Description |
---|---|
void |
EventBuffer.blacklist(TrackedEventMessage<?> trackedEventMessage)
Report the stream that a specific message was ignored by the consumer.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericTrackedDomainEventMessage<T>
Generic implementation of a
DomainEventMessage that is also a TrackedEventMessage . |
class |
GenericTrackedEventMessage<T>
Generic implementation of a
TrackedEventMessage . |
Modifier and Type | Method and Description |
---|---|
static <T> TrackedEventMessage<T> |
EventUtils.asTrackedEventMessage(EventMessage<T> eventMessage,
TrackingToken trackingToken)
|
TrackedEventMessage<T> |
TrackedEventMessage.withTrackingToken(TrackingToken trackingToken)
Creates a copy of this message with the given
trackingToken to replace the one in this message. |
Modifier and Type | Method and Description |
---|---|
Function<StreamableMessageSource<TrackedEventMessage<?>>,TrackingToken> |
TrackingEventProcessorConfiguration.getInitialTrackingToken() |
StreamableMessageSource<? extends TrackedEventMessage<?>> |
TrackingEventProcessor.getMessageSource()
Returns the
StreamableMessageSource this processor is using |
static Stream<TrackedEventMessage<?>> |
EventUtils.upcastAndDeserializeTrackedEvents(Stream<? extends TrackedEventData<?>> eventEntryStream,
Serializer serializer,
EventUpcaster upcasterChain)
Upcasts and deserializes the given
eventEntryStream using the given serializer and
upcasterChain . |
Modifier and Type | Method and Description |
---|---|
TrackingEventProcessorConfiguration |
TrackingEventProcessorConfiguration.andInitialTrackingToken(Function<StreamableMessageSource<TrackedEventMessage<?>>,TrackingToken> initialTrackingTokenBuilder)
Sets the Builder to use to create the initial tracking token.
|
TrackingEventProcessor.Builder |
TrackingEventProcessor.Builder.messageSource(StreamableMessageSource<TrackedEventMessage<?>> messageSource)
Sets the
StreamableMessageSource (e.g. |
void |
TrackingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>,TrackingToken> initialTrackingTokenSupplier)
Reset tokens to the position as return by the given
initialTrackingTokenSupplier . |
<R> void |
TrackingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>,TrackingToken> initialTrackingTokenSupplier,
R resetContext)
Reset tokens to the position as return by the given
initialTrackingTokenSupplier . |
Modifier and Type | Method and Description |
---|---|
Stream<? extends TrackedEventMessage<?>> |
FilteringEventStorageEngine.readEvents(TrackingToken trackingToken,
boolean mayBlock) |
Modifier and Type | Method and Description |
---|---|
MultiStreamableMessageSource.Builder |
MultiStreamableMessageSource.Builder.addMessageSource(String messageSourceId,
StreamableMessageSource<TrackedEventMessage<?>> messageSource)
Adds a message source to the list of sources.
|
MultiStreamableMessageSource.Builder |
MultiStreamableMessageSource.Builder.trackedEventComparator(Comparator<Map.Entry<String,TrackedEventMessage<?>>> trackedEventComparator)
Overrides the default trackedEventComparator.
|
Modifier and Type | Method and Description |
---|---|
Stream<? extends TrackedEventMessage<?>> |
EventStorageEngine.readEvents(TrackingToken trackingToken,
boolean mayBlock)
Open an event stream containing all events stored since given tracking token.
|
Stream<? extends TrackedEventMessage<?>> |
SequenceEventStorageEngine.readEvents(TrackingToken trackingToken,
boolean mayBlock) |
Stream<? extends TrackedEventMessage<?>> |
AbstractEventStorageEngine.readEvents(TrackingToken trackingToken,
boolean mayBlock) |
Modifier and Type | Method and Description |
---|---|
Stream<? extends TrackedEventMessage<?>> |
InMemoryEventStorageEngine.readEvents(TrackingToken trackingToken,
boolean mayBlock)
Open an event stream containing all events stored since given tracking token.
|
Copyright © 2010–2020. All rights reserved.