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()
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 © 2018 Hazelcast, Inc.. All Rights Reserved.