public abstract static class VertxMaintenanceGrpc.MaintenanceVertxImplBase extends Object implements io.grpc.BindableService
| Constructor and Description |
|---|
MaintenanceVertxImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<AlarmResponse> |
alarm(AlarmRequest request)
Range gets the keys in the range from the key-value store.
|
io.grpc.ServerServiceDefinition |
bindService() |
io.vertx.core.Future<DefragmentResponse> |
defragment(DefragmentRequest request) |
io.vertx.core.Future<HashResponse> |
hash(HashRequest request) |
io.vertx.core.Future<HashKVResponse> |
hashKV(HashKVRequest request)
Compact compacts the event history in the etcd key-value store.
|
io.vertx.core.Future<MoveLeaderResponse> |
moveLeader(MoveLeaderRequest request)
MoveLeader requests current leader node to transfer its leadership to transferee.
|
void |
snapshot(SnapshotRequest request,
io.vertx.core.streams.WriteStream<SnapshotResponse> response)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
|
io.vertx.core.Future<StatusResponse> |
status(StatusRequest request)
Put puts the given key into the key-value store.
|
VertxMaintenanceGrpc.MaintenanceVertxImplBase |
withCompression(String compression)
Set whether the server will try to use a compressed response.
|
public VertxMaintenanceGrpc.MaintenanceVertxImplBase withCompression(String compression)
compression - the compression, e.g gzippublic io.vertx.core.Future<AlarmResponse> alarm(AlarmRequest request)
Range gets the keys in the range from the key-value store.
public io.vertx.core.Future<StatusResponse> status(StatusRequest request)
Put puts the given key into the key-value store. A put request increments the revision of the key-value store and generates one event in the event history.
public io.vertx.core.Future<DefragmentResponse> defragment(DefragmentRequest request)
public io.vertx.core.Future<HashResponse> hash(HashRequest request)
public io.vertx.core.Future<HashKVResponse> hashKV(HashKVRequest request)
Compact compacts the event history in the etcd key-value store. The key-value store should be periodically compacted or the event history will continue to grow indefinitely.
public io.vertx.core.Future<MoveLeaderResponse> moveLeader(MoveLeaderRequest request)
MoveLeader requests current leader node to transfer its leadership to transferee.
public void snapshot(SnapshotRequest request, io.vertx.core.streams.WriteStream<SnapshotResponse> response)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2021. All rights reserved.