@InterfaceAudience.Public public class ReplicationPeerDescription extends Object
Modifier and Type | Field and Description |
---|---|
private ReplicationPeerConfig |
config |
private boolean |
enabled |
private String |
id |
Constructor and Description |
---|
ReplicationPeerDescription(String id,
boolean enabled,
ReplicationPeerConfig config) |
Modifier and Type | Method and Description |
---|---|
ReplicationPeerConfig |
getPeerConfig() |
String |
getPeerId() |
boolean |
isEnabled() |
String |
toString() |
private final boolean enabled
private final ReplicationPeerConfig config
public ReplicationPeerDescription(String id, boolean enabled, ReplicationPeerConfig config)
public boolean isEnabled()
public ReplicationPeerConfig getPeerConfig()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.