public interface WanReplicationPublisher
Modifier and Type | Method and Description |
---|---|
void |
checkWanReplicationQueues()
Check the capacity of the WAN replication queues.
|
void |
publishReplicationEvent(String serviceName,
ReplicationEventObject eventObject)
Publish the
eventObject WAN replication event. |
void |
publishReplicationEvent(WanReplicationEvent wanReplicationEvent) |
void |
publishReplicationEventBackup(String serviceName,
ReplicationEventObject eventObject)
Publish the
eventObject WAN replication event backup. |
void publishReplicationEvent(String serviceName, ReplicationEventObject eventObject)
eventObject
WAN replication event. The event may be dropped if queue capacity has been reached.serviceName
- the service publishing the eventeventObject
- the replication eventvoid publishReplicationEventBackup(String serviceName, ReplicationEventObject eventObject)
eventObject
WAN replication event backup. The event may be dropped if queue capacity has been reached.serviceName
- the service publishing the eventeventObject
- the replication backup eventvoid publishReplicationEvent(WanReplicationEvent wanReplicationEvent)
void checkWanReplicationQueues()
WANReplicationQueueFullException
- if queue capacity has been reached and
WanPublisherConfig.getQueueFullBehavior()
is
set to WANQueueFullBehavior.THROW_EXCEPTION
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.