Interface TransactionEvent
-
- All Superinterfaces:
Event<TransactionEvent.Type>
,Event<TransactionEvent.Type>
,Iterable<BinaryEntry>
public interface TransactionEvent extends 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 samePartitionedService
, but may belong to different caches.- Since:
- Coherence 12.1.2
- Author:
- rhl/hr/gg 2012.09.21
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TransactionEvent.Type
The TransactionEvent types.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Set<BinaryEntry>
getEntrySet()
A set ofentries
enlisted within this transaction.default Iterator<BinaryEntry>
iterator()
Returns an iterator over theentries
in this event.-
Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
-
Methods inherited from interface com.tangosol.net.events.partition.Event
getDispatcher, getService
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getEntrySet
Set<BinaryEntry> getEntrySet()
A set ofentries
enlisted within this transaction.- Returns:
- a set of entries enlisted within this transaction
-
iterator
default Iterator<BinaryEntry> iterator()
Returns an iterator over theentries
in this event.- Specified by:
iterator
in interfaceIterable<BinaryEntry>
- Returns:
- an iterator over the
entries
in this event.
-
-