Package io.atomix.api.runtime.value.v1
Class ValueGrpc.ValueImplBase
java.lang.Object
io.atomix.api.runtime.value.v1.ValueGrpc.ValueImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
ValueGrpc
public abstract static class ValueGrpc.ValueImplBase
extends Object
implements io.grpc.BindableService
Value is a service for a value primitive
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal io.grpc.ServerServiceDefinitionvoidclose(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver) Close closes the valuevoidcreate(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver) Create creates the valuevoidget(GetRequest request, io.grpc.stub.StreamObserver<GetResponse> responseObserver) Get gets the valuevoidset(SetRequest request, io.grpc.stub.StreamObserver<SetResponse> responseObserver) Set sets the valuevoidwatch(WatchRequest request, io.grpc.stub.StreamObserver<WatchResponse> responseObserver) Watch watches the value for changes
-
Constructor Details
-
ValueImplBase
public ValueImplBase()
-
-
Method Details
-
create
public void create(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver) Create creates the value
-
close
public void close(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver) Close closes the value
-
set
Set sets the value
-
get
Get gets the value
-
watch
public void watch(WatchRequest request, io.grpc.stub.StreamObserver<WatchResponse> responseObserver) Watch watches the value for changes
-
bindService
public final io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-