Package io.atomix.api.runtime.lock.v1
Class LockGrpc.LockBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<LockGrpc.LockBlockingStub>
io.atomix.api.runtime.lock.v1.LockGrpc.LockBlockingStub
- Enclosing class:
LockGrpc
public static final class LockGrpc.LockBlockingStub
extends io.grpc.stub.AbstractStub<LockGrpc.LockBlockingStub>
Lock is a service for a lock primitive
-
Method Summary
Modifier and TypeMethodDescriptionclose(CloseRequest request) Close closes the lockcreate(CreateRequest request) Create creates the lockgetLock(GetLockRequest request) GetLock gets the lock statelock(LockRequest request) Lock attempts to acquire the lockunlock(UnlockRequest request) Unlock releases the lockMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
create
Create creates the lock
-
close
Close closes the lock
-
lock
Lock attempts to acquire the lock
-
unlock
Unlock releases the lock
-
getLock
GetLock gets the lock state
-