|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransferEvent
A TransferEvent captures information concerning the transfer of a partition for a storage enabled member. Transfer events are raised against the set of entries
that are being transferred.
Note: TransferEvents 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 |
TransferEvent.Type The TransferEvent types. |
Method Summary | |
---|---|
java.util.Map |
getEntries() Return a map of cache names and associated set of read-only entries encapsulated in this TransferEvent . |
Member |
getLocalMember() Return the local Member associated with this transfer operation. |
int |
getPartitionId() Return the ID of the partition being transferred. |
Member |
getRemoteMember() Return the remote Member associated with this transfer operation. |
Methods inherited from interface com.tangosol.net.events.partition.Event |
---|
getDispatcher |
Methods inherited from interface com.tangosol.net.events.Event |
---|
getType, nextInterceptor |
Method Detail |
---|
int getPartitionId()
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 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.
java.util.Map getEntries()
entries
encapsulated in this TransferEvent
. The returned map and contained sets are immutable.
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |