public class WanPublisherConfig extends Object implements IdentifiedDataSerializable
Constructor and Description |
---|
WanPublisherConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
String |
getGroupName() |
int |
getId()
Returns type identifier for this class.
|
Object |
getImplementation() |
Map<String,Comparable> |
getProperties() |
int |
getQueueCapacity()
Get the capacity of the queue for WAN replication events.
|
WANQueueFullBehavior |
getQueueFullBehavior() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
WanPublisherConfig |
setClassName(String className)
Set the name of the class implementing the WanReplicationEndpoint.
|
WanPublisherConfig |
setGroupName(String groupName) |
WanPublisherConfig |
setImplementation(Object implementation)
Set the implementation of the WanReplicationEndpoint.
|
WanPublisherConfig |
setProperties(Map<String,Comparable> properties) |
WanPublisherConfig |
setQueueCapacity(int queueCapacity)
Set the capacity of the queue for WAN replication events.
|
WanPublisherConfig |
setQueueFullBehavior(WANQueueFullBehavior queueFullBehavior) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public String getGroupName()
public WanPublisherConfig setGroupName(String groupName)
public int getQueueCapacity()
getQueueFullBehavior()
.
The default queue size for replication queues is .public WanPublisherConfig setQueueCapacity(int queueCapacity)
getQueueFullBehavior()
.
The default queue size for replication queues is .queueCapacity
- the queue capacitypublic WANQueueFullBehavior getQueueFullBehavior()
public WanPublisherConfig setQueueFullBehavior(WANQueueFullBehavior queueFullBehavior)
public Map<String,Comparable> getProperties()
public WanPublisherConfig setProperties(Map<String,Comparable> properties)
public String getClassName()
public WanPublisherConfig setClassName(String className)
WanReplicationEndpoint
.className
- the name of the class implementation for the WAN replicationpublic Object getImplementation()
public WanPublisherConfig setImplementation(Object implementation)
WanReplicationEndpoint
.implementation
- the implementation for the WAN replicationpublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
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 © 2017 Hazelcast, Inc.. All Rights Reserved.