Index
All Classes and Interfaces|All Packages
B
- build() - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- builder() - Static method in class fr.maif.eventsourcing.EventEnvelope
- builder(EventEnvelope<E, Meta, Context>) - Static method in class fr.maif.eventsourcing.EventEnvelope
- Builder() - Constructor for class fr.maif.eventsourcing.EventEnvelope.Builder
C
- clazz() - Method in interface fr.maif.eventsourcing.Type
- context - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- context - Variable in class fr.maif.eventsourcing.EventEnvelope
-
a Context can be stored allog the event
- copy() - Method in class fr.maif.eventsourcing.EventEnvelope
- create(Class<T>, Long) - Static method in interface fr.maif.eventsourcing.Type
- create(Class<T>, String, Long) - Static method in interface fr.maif.eventsourcing.Type
E
- emissionDate - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- emissionDate - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The date when the event is produced
- entityId - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- entityId - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The id of the entity
- entityId() - Method in interface fr.maif.eventsourcing.Event
-
The id of entity
- equals(Object) - Method in class fr.maif.eventsourcing.EventEnvelope
- event - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- event - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The event
- event() - Method in class fr.maif.eventsourcing.EventEnvelope
- Event - Interface in fr.maif.eventsourcing
-
An interface to describe an Event
- EventEnvelope<E extends Event,
Meta, Context> - Class in fr.maif.eventsourcing -
The EventEnvelope is a wrapper for event containing metadatas
- EventEnvelope(UUID, Long, String, LocalDateTime, String, Meta, E, Context, Long, Boolean, Integer, Integer, String, String, String) - Constructor for class fr.maif.eventsourcing.EventEnvelope
- EventEnvelope.Builder<E extends Event,
Meta, Context> - Class in fr.maif.eventsourcing - eventType - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- eventType - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The type of the event
F
- fr.maif.eventsourcing - package fr.maif.eventsourcing
H
- hash() - Method in interface fr.maif.eventsourcing.Event
-
The hash used to send to kafka and handle local order
- hashCode() - Method in class fr.maif.eventsourcing.EventEnvelope
I
- id - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- id - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The unique id of the event
M
- match(Type<T>) - Method in class fr.maif.eventsourcing.EventEnvelope
- match(Tuple2<String, Long>) - Method in interface fr.maif.eventsourcing.Type
- match(String, Long) - Method in interface fr.maif.eventsourcing.Type
- metadata - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- metadata - Variable in class fr.maif.eventsourcing.EventEnvelope
-
Metadatas can be stored allog the event
N
- name() - Method in interface fr.maif.eventsourcing.Type
- numMessageInTransaction - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- numMessageInTransaction - Variable in class fr.maif.eventsourcing.EventEnvelope
-
Number of the current messages in the transaction for this entity
P
- pattern() - Method in interface fr.maif.eventsourcing.Type
- pattern2() - Method in interface fr.maif.eventsourcing.Type
- published - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- published - Variable in class fr.maif.eventsourcing.EventEnvelope
-
Is the event published to kafka
S
- sequenceNum - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- sequenceNum - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The order num of the event
- systemId - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- systemId - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The id of the system that produces this event
T
- toString() - Method in class fr.maif.eventsourcing.EventEnvelope
- totalMessageInTransaction - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- totalMessageInTransaction - Variable in class fr.maif.eventsourcing.EventEnvelope
-
Number of messages in the transaction for this entity
- transactionId - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- transactionId - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The id of the transaction if there is more than one event published in the transaction
- type() - Method in interface fr.maif.eventsourcing.Event
-
The type of the event : class + name + version
- Type<T> - Interface in fr.maif.eventsourcing
U
- userId - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- userId - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The id of the user that produces this event
V
- version - Variable in class fr.maif.eventsourcing.EventEnvelope.Builder
- version - Variable in class fr.maif.eventsourcing.EventEnvelope
-
The version of the event used to deserialize the event and handle multi versions
- version() - Method in interface fr.maif.eventsourcing.Type
W
- withContext(Context) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withEmissionDate(LocalDateTime) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withEntityId(String) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withEvent(E) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withEventType(String) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withId(UUID) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withMetadata(Meta) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withNumMessageInTransaction(Integer) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withPublished(Boolean) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withSequenceNum(Long) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withSystemId(String) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withTotalMessageInTransaction(Integer) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withTransactionId(String) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withUserId(String) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
- withVersion(Long) - Method in class fr.maif.eventsourcing.EventEnvelope.Builder
All Classes and Interfaces|All Packages