@InterfaceAudience.Public public class ReplicationPeerDescription extends Object
To developer, here we do not store the new sync replication state since it is just an intermediate state and this class is public.
Constructor and Description |
---|
ReplicationPeerDescription(String id,
boolean enabled,
ReplicationPeerConfig config,
SyncReplicationState syncReplicationState) |
Modifier and Type | Method and Description |
---|---|
ReplicationPeerConfig |
getPeerConfig() |
String |
getPeerId() |
SyncReplicationState |
getSyncReplicationState() |
boolean |
isEnabled() |
String |
toString() |
public ReplicationPeerDescription(String id, boolean enabled, ReplicationPeerConfig config, SyncReplicationState syncReplicationState)
public boolean isEnabled()
public ReplicationPeerConfig getPeerConfig()
public SyncReplicationState getSyncReplicationState()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.