public abstract class CacheReplicationObject extends Object implements EnterpriseReplicationEventObject, com.hazelcast.nio.serialization.IdentifiedDataSerializable
ICache related WAN replication objects.| Constructor and Description |
|---|
CacheReplicationObject() |
CacheReplicationObject(String cacheName,
String managerPrefix,
int backupCount) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBackupCount()
Returns the backup count (sync and async) for this WAN event.
|
String |
getCacheName() |
long |
getCreationTime()
Returns the creation time for this event in milliseconds.
|
int |
getFactoryId() |
Set<String> |
getGroupNames()
Returns the set of cluster group names on which this event has already
been processed.
|
String |
getManagerPrefix() |
String |
getNameWithPrefix() |
String |
getObjectName()
Returns the name of the distributed object (map or cache) on which this
event occurred.
|
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic CacheReplicationObject(String cacheName, String managerPrefix, int backupCount)
public CacheReplicationObject()
public String getManagerPrefix()
public String getCacheName()
public String getNameWithPrefix()
public int getBackupCount()
EnterpriseReplicationEventObjectgetBackupCount in interface EnterpriseReplicationEventObjectpublic Set<String> getGroupNames()
EnterpriseReplicationEventObjectgetGroupNames in interface EnterpriseReplicationEventObjectpublic long getCreationTime()
EnterpriseReplicationEventObjectgetCreationTime in interface EnterpriseReplicationEventObjectClock.currentTimeMillis()public void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic int getFactoryId()
getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic String getObjectName()
EnterpriseReplicationEventObjectgetObjectName in interface EnterpriseReplicationEventObjectCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.