public interface WanConsumer
WanPublisher. The publisher will then publish events
 in a custom fashion which the consumer expects and processes accordingly.
 This way, you can provide custom publication and consumption mechanisms
 and protocols for WAN replication. The default implementation of the WAN
 publisher ignores any configured custom consumers and the WAN events will
 be processed as if there was no custom consumer implementation.
 Can be registered by programmatically or by XML using WanConsumerConfig.WanPublisher| Modifier and Type | Method and Description | 
|---|---|
| void | init(String wanReplicationName,
    WanConsumerConfig config)Initialize the WAN consumer. | 
| void | shutdown()Callback method to shutdown the WAN replication consumer. | 
void init(String wanReplicationName, WanConsumerConfig config)
ExecutionService
 to schedule the consumer to run periodically or continually by having an
 implementation which uses blocking or spinning locks to check for new
 events. The implementation is free however to choose another approach.wanReplicationName - the name of the WanReplicationConfigconfig - the WAN consumer configvoid shutdown()
Copyright © 2020 Hazelcast, Inc.. All rights reserved.