T - type of event data that the publisher will publishpublic interface WanPublisher<T>
HazelcastInstanceAware
 if it needs a reference to the instance on which it is being run.| Modifier and Type | Method and Description | 
|---|---|
| void | doPrepublicationChecks()Performs pre-publication checks (e.g. | 
| void | init(WanReplicationConfig wanReplicationConfig,
    AbstractWanPublisherConfig publisherConfig)Initializes the publisher. | 
| void | publishReplicationEvent(WanEvent<T> eventObject)Publish the  eventObjectWAN replication event. | 
| void | publishReplicationEventBackup(WanEvent<T> eventObject)Publish the  eventObjectWAN replication event backup. | 
| default void | reset()Resets the publisher (e.g. | 
| void | shutdown()Closes the publisher and its internal connections and shuts down other internal states. | 
void init(WanReplicationConfig wanReplicationConfig, AbstractWanPublisherConfig publisherConfig)
wanReplicationConfig - WanReplicationConfig instancepublisherConfig - AbstractWanPublisherConfig instancevoid shutdown()
default void reset()
void doPrepublicationChecks()
publishReplicationEvent(WanEvent)
 and publishReplicationEventBackup(WanEvent).void publishReplicationEvent(WanEvent<T> eventObject)
eventObject WAN replication event.eventObject - the replication eventCopyright © 2020 Hazelcast, Inc.. All rights reserved.