public abstract class AbstractWanReplication extends AbstractWanPublisher
| Modifier and Type | Field and Description |
|---|---|
protected WanConnectionManager |
connectionManager |
configurationContext, eventQueueContainer, lastQueueFullLogTimeMs, localGroupName, logger, node, queueCapacity, queueFullBehavior, queueLoggerTimePeriodMs, running, state, syncSupport, wanCounter, wanPublisherId, 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, createWanSyncSupport, decrementCounter, destroyMapData, getCurrentBackupElementCount, getCurrentElementCount, getPartitionId, getPublisherQueueContainer, getStats, onMigrationCommit, onMigrationRollback, onMigrationStart, onWanQueueClearedDuringMigration, pause, publishAntiEntropyEvent, publishReplicationEvent, publishReplicationEvent, publishReplicationEventBackup, publishSyncEvent, putBackup, removeBackup, removeBackups, removeReplicationEvent, reset, resume, shutdown, stopprotected 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 - the replication 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 © 2021 Hazelcast, Inc.. All Rights Reserved.