public class WanReplicationRef extends Object implements DataSerializable, Serializable
Constructor and Description |
---|
WanReplicationRef() |
WanReplicationRef(String name,
String mergePolicy,
List<String> filters,
boolean republishingEnabled) |
WanReplicationRef(WanReplicationRef ref) |
Modifier and Type | Method and Description |
---|---|
WanReplicationRef |
addFilter(String filter) |
WanReplicationRefReadOnly |
getAsReadOnly() |
List<String> |
getFilters() |
String |
getMergePolicy() |
String |
getName() |
boolean |
isRepublishingEnabled() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
WanReplicationRef |
setFilters(List<String> filters) |
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, List<String> filters, 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 WanReplicationRef addFilter(String filter)
public WanReplicationRef setFilters(List<String> filters)
public boolean isRepublishingEnabled()
public WanReplicationRef setRepublishingEnabled(boolean republishEnabled)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.