public static final class MaintenanceGrpc.MaintenanceStub extends io.grpc.stub.AbstractAsyncStub<MaintenanceGrpc.MaintenanceStub>
| Modifier and Type | Method and Description |
|---|---|
void |
alarm(AlarmRequest request,
io.grpc.stub.StreamObserver<AlarmResponse> responseObserver)
Alarm activates, deactivates, and queries alarms regarding cluster health.
|
protected MaintenanceGrpc.MaintenanceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
defragment(DefragmentRequest request,
io.grpc.stub.StreamObserver<DefragmentResponse> responseObserver)
Defragment defragments a member's backend database to recover storage space.
|
void |
hash(HashRequest request,
io.grpc.stub.StreamObserver<HashResponse> responseObserver)
Hash computes the hash of whole backend keyspace,
including key, lease, and other buckets in storage.
|
void |
hashKV(HashKVRequest request,
io.grpc.stub.StreamObserver<HashKVResponse> responseObserver)
HashKV computes the hash of all MVCC keys up to a given revision.
|
void |
moveLeader(MoveLeaderRequest request,
io.grpc.stub.StreamObserver<MoveLeaderResponse> responseObserver)
MoveLeader requests current leader node to transfer its leadership to transferee.
|
void |
snapshot(SnapshotRequest request,
io.grpc.stub.StreamObserver<SnapshotResponse> responseObserver)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
|
void |
status(StatusRequest request,
io.grpc.stub.StreamObserver<StatusResponse> responseObserver)
Status gets the status of the member.
|
protected MaintenanceGrpc.MaintenanceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<MaintenanceGrpc.MaintenanceStub>public void alarm(AlarmRequest request, io.grpc.stub.StreamObserver<AlarmResponse> responseObserver)
Alarm activates, deactivates, and queries alarms regarding cluster health.
public void status(StatusRequest request, io.grpc.stub.StreamObserver<StatusResponse> responseObserver)
Status gets the status of the member.
public void defragment(DefragmentRequest request, io.grpc.stub.StreamObserver<DefragmentResponse> responseObserver)
Defragment defragments a member's backend database to recover storage space.
public void hash(HashRequest request, io.grpc.stub.StreamObserver<HashResponse> responseObserver)
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 void hashKV(HashKVRequest request, io.grpc.stub.StreamObserver<HashKVResponse> responseObserver)
HashKV computes the hash of all MVCC keys up to a given revision. It only iterates "key" bucket in backend storage.
public void snapshot(SnapshotRequest request, io.grpc.stub.StreamObserver<SnapshotResponse> responseObserver)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
public void moveLeader(MoveLeaderRequest request, io.grpc.stub.StreamObserver<MoveLeaderResponse> responseObserver)
MoveLeader requests current leader node to transfer its leadership to transferee.
Copyright © 2022. All rights reserved.