Package io.etcd.jetcd.api
Class LeaseGrpc.LeaseBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<LeaseGrpc.LeaseBlockingStub>
-
- io.etcd.jetcd.api.LeaseGrpc.LeaseBlockingStub
-
- Enclosing class:
- LeaseGrpc
public static final class LeaseGrpc.LeaseBlockingStub extends io.grpc.stub.AbstractBlockingStub<LeaseGrpc.LeaseBlockingStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LeaseGrpc.LeaseBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)LeaseGrantResponseleaseGrant(LeaseGrantRequest request)LeaseGrant creates a lease which expires if the server does not receive a keepAlive within a given time to live period.LeaseRevokeResponseleaseRevoke(LeaseRevokeRequest request)LeaseRevoke revokes a lease.LeaseTimeToLiveResponseleaseTimeToLive(LeaseTimeToLiveRequest request)LeaseTimeToLive retrieves lease information.
-
-
-
Method Detail
-
build
protected LeaseGrpc.LeaseBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<LeaseGrpc.LeaseBlockingStub>
-
leaseGrant
public LeaseGrantResponse leaseGrant(LeaseGrantRequest request)
LeaseGrant creates a lease which expires if the server does not receive a keepAlive within a given time to live period. All keys attached to the lease will be expired and deleted if the lease expires. Each expired key generates a delete event in the event history.
-
leaseRevoke
public LeaseRevokeResponse leaseRevoke(LeaseRevokeRequest request)
LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted.
-
leaseTimeToLive
public LeaseTimeToLiveResponse leaseTimeToLive(LeaseTimeToLiveRequest request)
LeaseTimeToLive retrieves lease information.
-
-