public static final class MaintenanceGrpc.MaintenanceStub extends io.grpc.stub.AbstractStub<MaintenanceGrpc.MaintenanceStub>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
alarm(Rpc.AlarmRequest request,
io.grpc.stub.StreamObserver<Rpc.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(Rpc.DefragmentRequest request,
io.grpc.stub.StreamObserver<Rpc.DefragmentResponse> responseObserver)
Defragment defragments a member's backend database to recover storage space.
|
void |
hash(Rpc.HashRequest request,
io.grpc.stub.StreamObserver<Rpc.HashResponse> responseObserver)
Hash returns the hash of the local KV state for consistency checking purpose.
|
void |
snapshot(Rpc.SnapshotRequest request,
io.grpc.stub.StreamObserver<Rpc.SnapshotResponse> responseObserver)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
|
void |
status(Rpc.StatusRequest request,
io.grpc.stub.StreamObserver<Rpc.StatusResponse> responseObserver)
Status gets the status of the member.
|
protected MaintenanceGrpc.MaintenanceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build 在类中 io.grpc.stub.AbstractStub<MaintenanceGrpc.MaintenanceStub>public void alarm(Rpc.AlarmRequest request, io.grpc.stub.StreamObserver<Rpc.AlarmResponse> responseObserver)
Alarm activates, deactivates, and queries alarms regarding cluster health.
public void status(Rpc.StatusRequest request, io.grpc.stub.StreamObserver<Rpc.StatusResponse> responseObserver)
Status gets the status of the member.
public void defragment(Rpc.DefragmentRequest request, io.grpc.stub.StreamObserver<Rpc.DefragmentResponse> responseObserver)
Defragment defragments a member's backend database to recover storage space.
public void hash(Rpc.HashRequest request, io.grpc.stub.StreamObserver<Rpc.HashResponse> responseObserver)
Hash returns the hash of the local KV state for consistency checking purpose. This is designed for testing; do not use this in production when there are ongoing transactions.
public void snapshot(Rpc.SnapshotRequest request, io.grpc.stub.StreamObserver<Rpc.SnapshotResponse> responseObserver)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
Copyright © 2018. All rights reserved.