public class WanConsumerConfig extends Object implements IdentifiedDataSerializable
NOTE: EE only
| Modifier and Type | Field and Description | 
|---|---|
| static boolean | DEFAULT_PERSIST_WAN_REPLICATED_DATA | 
| Constructor and Description | 
|---|
| WanConsumerConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| int | getClassId()Returns type identifier for this class. | 
| String | getClassName()Returns the fully qualified class name of the class implementing
  WanConsumer. | 
| int | getFactoryId()Returns DataSerializableFactory factory ID for this class. | 
| WanConsumer | getImplementation()Returns the implementation implementing
  WanConsumer. | 
| Map<String,Comparable> | getProperties()Returns the properties for the custom WAN consumer. | 
| int | hashCode() | 
| boolean | isPersistWanReplicatedData() | 
| void | readData(ObjectDataInput in)Reads fields from the input stream | 
| WanConsumerConfig | setClassName(String className)Sets the fully qualified class name of the class implementing
  WanConsumer. | 
| WanConsumerConfig | setImplementation(WanConsumer implementation)Sets the implementation for this WAN consumer. | 
| WanConsumerConfig | setPersistWanReplicatedData(boolean persistWanReplicatedData) | 
| WanConsumerConfig | setProperties(Map<String,Comparable> properties)Sets the properties for the custom WAN consumer. | 
| String | toString() | 
| void | writeData(ObjectDataOutput out)Writes object fields to output stream | 
public static final boolean DEFAULT_PERSIST_WAN_REPLICATED_DATA
public Map<String,Comparable> getProperties()
public WanConsumerConfig setProperties(Map<String,Comparable> properties)
properties - the properties for the WAN consumerpublic String getClassName()
WanConsumer.public WanConsumerConfig setClassName(@Nonnull String className)
WanConsumer.
 The class name may be null in which case the implementation or
 the default processing logic for incoming WAN events will be used.className - fully qualified class namesetImplementation(WanConsumer)public WanConsumer getImplementation()
WanConsumer.public WanConsumerConfig setImplementation(@Nonnull WanConsumer implementation)
WanConsumer.
 The implementation may be null in which case the class name or
 the default processing logic for incoming WAN events will be used.implementation - the object implementing WanConsumersetClassName(String)public boolean isPersistWanReplicatedData()
true when persistence of replicated data into backing
 store is enabled, otherwise returns false. By default this
 method returns false.public WanConsumerConfig setPersistWanReplicatedData(boolean persistWanReplicatedData)
persistWanReplicatedData - set true to enable
                                 persistence of replicated data into backing store, otherwise set
                                 false to disable it. Default value is false.WanReplicationRef objectpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getClassId()
IdentifiedDataSerializablegetClassId 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 © 2021 Hazelcast, Inc.. All rights reserved.