public class WanReplicationRef extends Object implements DataSerializable, Serializable
| Constructor and Description |
|---|
WanReplicationRef() |
WanReplicationRef(String name,
String mergePolicy,
boolean republishingEnabled) |
WanReplicationRef(WanReplicationRef ref) |
| Modifier and Type | Method and Description |
|---|---|
WanReplicationRefReadOnly |
getAsReadOnly() |
String |
getMergePolicy() |
String |
getName() |
boolean |
isRepublishingEnabled() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
WanReplicationRef |
setMergePolicy(String mergePolicy) |
WanReplicationRef |
setName(String name) |
WanReplicationRef |
setRepublishingEnabled(boolean republishEnabled) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public WanReplicationRef()
public WanReplicationRef(String name, String mergePolicy, boolean republishingEnabled)
public WanReplicationRef(WanReplicationRef ref)
public WanReplicationRefReadOnly getAsReadOnly()
public String getName()
public WanReplicationRef setName(String name)
public String getMergePolicy()
public WanReplicationRef setMergePolicy(String mergePolicy)
public boolean isRepublishingEnabled()
public WanReplicationRef setRepublishingEnabled(boolean republishEnabled)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.