Interface TransactionEvent
- All Superinterfaces:
Event<TransactionEvent.Type>,Event<TransactionEvent.Type>,Iterable<BinaryEntry>
A TransactionEvent captures information pertaining to all mutations
performed within the context of a single request. All modified
entries are passed to the interceptor(s) of this event. All entries are
bound to the same
PartitionedService, but may
belong to different caches.- Since:
- Coherence 12.1.2
- Author:
- rhl/hr/gg 2012.09.21
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe TransactionEvent types. -
Method Summary
Modifier and TypeMethodDescriptionA set ofentriesenlisted within this transaction.default Iterator<BinaryEntry>iterator()Returns an iterator over theentriesin this event.Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptorMethods inherited from interface com.tangosol.net.events.partition.Event
getDispatcher, getServiceMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getEntrySet
Set<BinaryEntry> getEntrySet()A set ofentriesenlisted within this transaction.- Returns:
- a set of entries enlisted within this transaction
-
iterator
Returns an iterator over theentriesin this event.- Specified by:
iteratorin interfaceIterable<BinaryEntry>- Returns:
- an iterator over the
entriesin this event.
-