com.hazelcast.config
Class WanReplicationRef
java.lang.Object
com.hazelcast.config.WanReplicationRef
- All Implemented Interfaces:
- DataSerializable, Serializable
- Direct Known Subclasses:
- WanReplicationRefReadOnly
public class WanReplicationRef
- extends Object
- implements DataSerializable, Serializable
Configuration for Wan target replication reference
- See Also:
- Serialized Form
WanReplicationRef
public WanReplicationRef()
WanReplicationRef
public WanReplicationRef(String name,
String mergePolicy,
boolean republishingEnabled)
WanReplicationRef
public WanReplicationRef(WanReplicationRef ref)
getAsReadOnly
public WanReplicationRefReadOnly getAsReadOnly()
getName
public String getName()
setName
public WanReplicationRef setName(String name)
getMergePolicy
public String getMergePolicy()
setMergePolicy
public WanReplicationRef setMergePolicy(String mergePolicy)
isRepublishingEnabled
public boolean isRepublishingEnabled()
setRepublishingEnabled
public WanReplicationRef setRepublishingEnabled(boolean republishEnabled)
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.