|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PartitionedServiceDispatcher.TransferEvent
A PartitionedServiceDispatcher.TransferEvent
captures information concerning the transfer of a partition for a storage enabled member. Transfer events are raised against the set of BinaryEntry
s that are being transferred.
Note: PartitionedServiceDispatcher.TransferEvent
s are dispatched to interceptors while holding a lock on the partition for being transferred, blocking any operations for the partition.
Nested Class Summary | |
---|---|
static class |
PartitionedServiceDispatcher.TransferEvent.Type The PartitionedServiceDispatcher.TransferEvent types. |
Method Summary | |
---|---|
java.lang.String |
getCacheName() Return the cache name associated with this event. |
java.util.Set |
getEntrySet() Return an immutable Set of read-only BinaryEntry s associated with this PartitionedServiceDispatcher.TransferEvent . |
Member |
getLocalMember() Return the local Member associated with this transfer operation. |
int |
getPartitionId() Return the ID of the partition being transferred. |
PartitionedService |
getPartitionService() Return the PartitionedService on which this PartitionedServiceDispatcher.TransferEvent occurred. |
Member |
getRemoteMember() Return the remote Member associated with this transfer operation. |
Methods inherited from interface com.tangosol.net.events.Event |
---|
getType, nextInterceptor |
Method Detail |
---|
int getPartitionId()
PartitionedService getPartitionService()
PartitionedService
on which this PartitionedServiceDispatcher.TransferEvent
occurred.Member getLocalMember()
Member
associated with this transfer operation. For the DEPARTING
event this is the member the entries are being transferred from. For the ARRIVED
event, this is the member that is receiving the entries.Member
associated with this eventMember getRemoteMember()
Member
associated with this transfer operation. For the DEPARTING
event this is the member the entries are being transferred to. For the ARRIVED
event, this is the member that the entries are being transferred from.
In the case the ARRIVED
event, the returned member could be null, indicating a "partition restore" operation.
Member
associated with this eventjava.lang.String getCacheName()
java.util.Set getEntrySet()
BinaryEntry
s associated with this PartitionedServiceDispatcher.TransferEvent
.
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |