public abstract class AbstractWanReplication extends AbstractWanPublisher
| Modifier and Type | Field and Description |
|---|---|
protected WanConnectionManager |
connectionManager |
configurationContext, eventQueueContainer, lastQueueFullLogTimeMs, localGroupName, logger, node, paused, queueCapacity, queueFullBehavior, queueLoggerTimePeriodMs, running, stagingQueue, syncManager, syncRequests, targetGroupName, wanReplicationName| Constructor and Description |
|---|
AbstractWanReplication() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterShutdown() |
List<com.hazelcast.nio.Address> |
getTargetEndpoints()
Return a snapshot of the list of currently known target endpoints to which replication is made.
|
void |
init(com.hazelcast.instance.Node node,
com.hazelcast.config.WanReplicationConfig wanReplicationConfig,
com.hazelcast.config.WanPublisherConfig publisherConfig)
Initializes the endpoint using the given arguments.
|
boolean |
isConnected()
Tests is there is at least one alive connection to a configured
target cluster member over WAN.
|
addCacheQueue, addMapQueue, checkWanReplicationQueues, clearQueues, collectAllServiceNamespaces, collectReplicationData, decrementWANQueueSize, getCurrentBackupElementCount, getCurrentElementCount, getPartitionId, getPublisherQueueContainer, getStagingQueueSize, getStats, getTargetGroupName, pause, populate, publishReplicationEvent, publishReplicationEvent, publishReplicationEventBackup, publishSyncEvent, putBackup, removeBackup, removeReplicationEvent, resume, shutdownprotected WanConnectionManager connectionManager
public void init(com.hazelcast.instance.Node node,
com.hazelcast.config.WanReplicationConfig wanReplicationConfig,
com.hazelcast.config.WanPublisherConfig publisherConfig)
WanReplicationEndpointinit in interface WanReplicationEndpointinit in class AbstractWanPublishernode - the current node that tries to connectwanReplicationConfig - WanReplicationConfig configpublisherConfig - this endpoint will be initialized using this WanPublisherConfig instancepublic boolean isConnected()
AbstractWanPublisherisConnected in class AbstractWanPublishertrue if there is at least one alive connection, false otherwisepublic List<com.hazelcast.nio.Address> getTargetEndpoints()
protected void afterShutdown()
afterShutdown in class AbstractWanPublisherCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.