public class CustomWanPublisherConfig extends AbstractWanPublisherConfig
className, implementation, properties, publisherId| Constructor and Description |
|---|
CustomWanPublisherConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getClassId()
Returns type identifier for this class.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
String |
getPublisherId()
Returns the publisher ID used for identifying the publisher in a
WanReplicationConfig. |
CustomWanPublisherConfig |
setClassName(String className)
Sets the name of the class implementing
WanReplicationPublisher. |
CustomWanPublisherConfig |
setImplementation(Object implementation)
Sets the implementation of
WanReplicationPublisher. |
CustomWanPublisherConfig |
setProperties(Map<String,Comparable> properties)
Sets the WAN publisher properties.
|
CustomWanPublisherConfig |
setPublisherId(String publisherId)
Sets the publisher ID used for identifying the publisher in a
WanReplicationConfig. |
String |
toString() |
equals, getClassName, getImplementation, getProperties, hashCode, readData, writeData@Nonnull public String getPublisherId()
AbstractWanPublisherConfigWanReplicationConfig.getPublisherId in class AbstractWanPublisherConfignull if no publisher ID is setpublic CustomWanPublisherConfig setPublisherId(@Nonnull String publisherId)
AbstractWanPublisherConfigWanReplicationConfig.setPublisherId in class AbstractWanPublisherConfigpublisherId - the WAN publisher IDpublic CustomWanPublisherConfig setProperties(@Nonnull Map<String,Comparable> properties)
AbstractWanPublisherConfigsetProperties in class AbstractWanPublisherConfigproperties - WAN publisher propertiespublic CustomWanPublisherConfig setClassName(String className)
AbstractWanPublisherConfigWanReplicationPublisher.
To configure the built in WanBatchReplication, please use
WanBatchReplicationPublisherConfig config class.setClassName in class AbstractWanPublisherConfigclassName - the name of the class implementation for the WAN replicationpublic CustomWanPublisherConfig setImplementation(Object implementation)
AbstractWanPublisherConfigWanReplicationPublisher.setImplementation in class AbstractWanPublisherConfigimplementation - the implementation for the WAN replicationpublic int getFactoryId()
IdentifiedDataSerializablepublic int getClassId()
IdentifiedDataSerializableCopyright © 2019 Hazelcast, Inc.. All rights reserved.