public class WanConsumerConfig extends Object implements IdentifiedDataSerializable
| Constructor and Description | 
|---|
WanConsumerConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getClassName()
Get the fully qualified class name of the class implementing WanReplicationConsumer. 
 | 
int | 
getFactoryId()
Returns DataSerializableFactory factory ID for this class. 
 | 
int | 
getId()
Returns type identifier for this class. 
 | 
Object | 
getImplementation()
Get the implementation implementing WanReplicationConsumer. 
 | 
Map<String,Comparable> | 
getProperties()
Return the properties for this WAN consumer. 
 | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
WanConsumerConfig | 
setClassName(String className)
Set the name of the class implementing WanReplicationConsumer. 
 | 
WanConsumerConfig | 
setImplementation(Object implementation)
Set the implementation for this WAN consumer. 
 | 
WanConsumerConfig | 
setProperties(Map<String,Comparable> properties)
Set the properties for the WAN consumer. 
 | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
public Map<String,Comparable> getProperties()
public WanConsumerConfig setProperties(Map<String,Comparable> properties)
properties - the properties for the WAN consumerpublic String getClassName()
public WanConsumerConfig setClassName(String className)
className - fully qualified class namepublic Object getImplementation()
public WanConsumerConfig setImplementation(Object implementation)
implementation - the object implementing WanReplicationConsumerpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.