Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.client.replication | |
org.apache.hadoop.hbase.replication | |
org.apache.hadoop.hbase.shaded.protobuf |
Modifier and Type | Method and Description |
---|---|
default SyncReplicationState |
Admin.getReplicationPeerSyncReplicationState(String peerId)
Get the current cluster state in a synchronous replication peer.
|
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<SyncReplicationState> |
AsyncAdmin.getReplicationPeerSyncReplicationState(String peerId)
Get the current cluster state in a synchronous replication peer.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
AsyncAdmin.transitReplicationPeerSyncReplicationState(String peerId,
SyncReplicationState state)
Transit current cluster to a new state in a synchronous replication peer.
|
default void |
Admin.transitReplicationPeerSyncReplicationState(String peerId,
SyncReplicationState state)
Transit current cluster to a new state in a synchronous replication peer.
|
Future<Void> |
Admin.transitReplicationPeerSyncReplicationStateAsync(String peerId,
SyncReplicationState state)
Transit current cluster to a new state in a synchronous replication peer.
|
Modifier and Type | Method and Description |
---|---|
static SyncReplicationState |
ReplicationPeerConfigUtil.toSyncReplicationState(org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos.SyncReplicationState state) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos.SyncReplicationState |
ReplicationPeerConfigUtil.toSyncReplicationState(SyncReplicationState state) |
Modifier and Type | Method and Description |
---|---|
SyncReplicationState |
ReplicationPeerDescription.getSyncReplicationState() |
static SyncReplicationState |
SyncReplicationState.parseFrom(byte[] bytes) |
static SyncReplicationState |
SyncReplicationState.valueOf(int value) |
static SyncReplicationState |
SyncReplicationState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncReplicationState[] |
SyncReplicationState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
SyncReplicationState.toByteArray(SyncReplicationState state) |
Constructor and Description |
---|
ReplicationPeerDescription(String id,
boolean enabled,
ReplicationPeerConfig config,
SyncReplicationState syncReplicationState) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.ReplicationProtos.TransitReplicationPeerSyncReplicationStateRequest |
RequestConverter.buildTransitReplicationPeerSyncReplicationStateRequest(String peerId,
SyncReplicationState state) |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.