Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.replication |
Multi Cluster Replication
|
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 |
---|---|
default void |
Admin.transitReplicationPeerSyncReplicationState(String peerId,
SyncReplicationState state)
Transit current cluster to a new state in a synchronous replication peer.
|
CompletableFuture<Void> |
AsyncAdmin.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 |
---|---|
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 Pair<SyncReplicationState,SyncReplicationState> |
SyncReplicationState.parseStateAndNewStateFrom(byte[] bytes) |
static Pair<SyncReplicationState,SyncReplicationState> |
SyncReplicationState.parseStateAndNewStateFrom(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
SyncReplicationState.toByteArray(SyncReplicationState state) |
static byte[] |
SyncReplicationState.toByteArray(SyncReplicationState state,
SyncReplicationState newState) |
Constructor and Description |
---|
ReplicationPeerDescription(String id,
boolean enabled,
ReplicationPeerConfig config,
SyncReplicationState syncReplicationState) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.