Package io.etcd.jetcd.api
Class VertxMaintenanceGrpc.MaintenanceVertxStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<VertxMaintenanceGrpc.MaintenanceVertxStub>
-
- io.etcd.jetcd.api.VertxMaintenanceGrpc.MaintenanceVertxStub
-
- Enclosing class:
- VertxMaintenanceGrpc
public static final class VertxMaintenanceGrpc.MaintenanceVertxStub extends io.grpc.stub.AbstractStub<VertxMaintenanceGrpc.MaintenanceVertxStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.Future<AlarmResponse>alarm(AlarmRequest request)Range gets the keys in the range from the key-value store.protected VertxMaintenanceGrpc.MaintenanceVertxStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.vertx.core.Future<DefragmentResponse>defragment(DefragmentRequest request)DeleteRange deletes the given range from the key-value store.io.vertx.core.Future<HashResponse>hash(HashRequest request)Txn processes multiple requests in a single transaction.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.io.vertx.core.streams.ReadStream<SnapshotResponse>snapshot(SnapshotRequest request)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.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected VertxMaintenanceGrpc.MaintenanceVertxStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<VertxMaintenanceGrpc.MaintenanceVertxStub>
-
alarm
public io.vertx.core.Future<AlarmResponse> alarm(AlarmRequest request)
Range gets the keys in the range from the key-value store.
-
status
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.
-
defragment
public io.vertx.core.Future<DefragmentResponse> defragment(DefragmentRequest request)
DeleteRange deletes the given range from the key-value store. A delete request increments the revision of the key-value store and generates a delete event in the event history for every deleted key.
-
hash
public io.vertx.core.Future<HashResponse> hash(HashRequest request)
Txn processes multiple requests in a single transaction. A txn request increments the revision of the key-value store and generates events with the same revision for every completed request. It is not allowed to modify the same key several times within one txn.
-
hashKV
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.
-
moveLeader
public io.vertx.core.Future<MoveLeaderResponse> moveLeader(MoveLeaderRequest request)
MoveLeader requests current leader node to transfer its leadership to transferee.
-
snapshot
public io.vertx.core.streams.ReadStream<SnapshotResponse> snapshot(SnapshotRequest request)
Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
-
-