public static final class MaintenanceGrpc.MaintenanceFutureStub extends io.grpc.stub.AbstractFutureStub<MaintenanceGrpc.MaintenanceFutureStub>
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<AlarmResponse> |
alarm(AlarmRequest request)
Alarm activates, deactivates, and queries alarms regarding cluster health.
|
protected MaintenanceGrpc.MaintenanceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<DefragmentResponse> |
defragment(DefragmentRequest request)
Defragment defragments a member's backend database to recover storage space.
|
com.google.common.util.concurrent.ListenableFuture<HashResponse> |
hash(HashRequest request)
Hash computes the hash of whole backend keyspace,
including key, lease, and other buckets in storage.
|
com.google.common.util.concurrent.ListenableFuture<HashKVResponse> |
hashKV(HashKVRequest request)
HashKV computes the hash of all MVCC keys up to a given revision.
|
com.google.common.util.concurrent.ListenableFuture<MoveLeaderResponse> |
moveLeader(MoveLeaderRequest request)
MoveLeader requests current leader node to transfer its leadership to transferee.
|
com.google.common.util.concurrent.ListenableFuture<StatusResponse> |
status(StatusRequest request)
Status gets the status of the member.
|
protected MaintenanceGrpc.MaintenanceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<MaintenanceGrpc.MaintenanceFutureStub>public com.google.common.util.concurrent.ListenableFuture<AlarmResponse> alarm(AlarmRequest request)
Alarm activates, deactivates, and queries alarms regarding cluster health.
public com.google.common.util.concurrent.ListenableFuture<StatusResponse> status(StatusRequest request)
Status gets the status of the member.
public com.google.common.util.concurrent.ListenableFuture<DefragmentResponse> defragment(DefragmentRequest request)
Defragment defragments a member's backend database to recover storage space.
public com.google.common.util.concurrent.ListenableFuture<HashResponse> hash(HashRequest request)
Hash computes the hash of whole backend keyspace, including key, lease, and other buckets in storage. This is designed for testing ONLY! Do not rely on this in production with ongoing transactions, since Hash operation does not hold MVCC locks. Use "HashKV" API instead for "key" bucket consistency checks.
public com.google.common.util.concurrent.ListenableFuture<HashKVResponse> hashKV(HashKVRequest request)
HashKV computes the hash of all MVCC keys up to a given revision. It only iterates "key" bucket in backend storage.
public com.google.common.util.concurrent.ListenableFuture<MoveLeaderResponse> moveLeader(MoveLeaderRequest request)
MoveLeader requests current leader node to transfer its leadership to transferee.
Copyright © 2023. All rights reserved.