public class CacheDrStateTransfer extends Object implements Externalizable
Constructor and Description |
---|
CacheDrStateTransfer()
Externalizable support. |
CacheDrStateTransfer(IgniteUuid id,
Collection<Byte> dataCenterIds)
|
CacheDrStateTransfer(IgniteUuid id,
Collection<Byte> dataCenterIds,
String cacheName,
UUID nodeId,
long startTime,
boolean syncMode,
int partitionsTransferred)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
cacheName()
Gets cache name state transfer is started for.
|
Collection<Byte> |
dataCenterIds()
Gets target data center IDs.
|
boolean |
equals(Object obj) |
int |
hashCode() |
IgniteUuid |
id()
Gets unique state transfer ID.
|
UUID |
nodeId()
Gets ID of the initiator node.
|
int |
partitionsTransferred()
Gets number of partitions that have been transferred.
|
void |
readExternal(ObjectInput in) |
long |
startTime()
Gets state transfer start timestamp.
|
boolean |
syncMode()
Gets state transfer mode flag.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public CacheDrStateTransfer()
Externalizable
support.@Deprecated public CacheDrStateTransfer(IgniteUuid id, Collection<Byte> dataCenterIds)
public CacheDrStateTransfer(IgniteUuid id, Collection<Byte> dataCenterIds, String cacheName, UUID nodeId, long startTime, boolean syncMode, int partitionsTransferred)
id
- Unique state transfer ID.dataCenterIds
- Target data center IDs.cacheName
- Cache name.nodeId
- Node-initiator ID.startTime
- State transfer start time.syncMode
- Sync mode flag.partitionsTransferred
- Transferred partitions count.public IgniteUuid id()
public Collection<Byte> dataCenterIds()
public long startTime()
public String cacheName()
public int partitionsTransferred()
public UUID nodeId()
public boolean syncMode()
true
if state transfer mode is synchronous, false
otherwise.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024