Package io.streamnative.oxia.proto
Class OxiaClientGrpc
java.lang.Object
io.streamnative.oxia.proto.OxiaClientGrpc
@Generated(value="by gRPC proto compiler (version 1.56.1)",
comments="Source: io/streamnative/oxia/client.proto")
public final class OxiaClientGrpc
extends Object
Oxia service that allows clients to discover shard-to-server assignments and submit batches of requests. Clients should connect to a random server to discover the shard-to-server assignments and then send the actual batched requests to the appropriate shard leader. In the future, this may be handled server-side in a proxy layer to allows clients to not be concerned with sharding.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceOxia service that allows clients to discover shard-to-server assignments and submit batches of requests.static final classA stub to allow clients to do synchronous rpc calls to service OxiaClient.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service OxiaClient.static classBase class for the server implementation of the service OxiaClient.static final classA stub to allow clients to do asynchronous rpc calls to service OxiaClient. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(OxiaClientGrpc.AsyncService service) static io.grpc.MethodDescriptor<CloseSessionRequest,CloseSessionResponse> static io.grpc.MethodDescriptor<CreateSessionRequest,CreateSessionResponse> static io.grpc.MethodDescriptor<NotificationsRequest,NotificationBatch> static io.grpc.MethodDescriptor<ShardAssignmentsRequest,ShardAssignments> static io.grpc.MethodDescriptor<SessionHeartbeat,KeepAliveResponse> static io.grpc.MethodDescriptor<ListRequest,ListResponse> static io.grpc.MethodDescriptor<RangeScanRequest,RangeScanResponse> static io.grpc.MethodDescriptor<ReadRequest,ReadResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<WriteRequest,WriteResponse> static io.grpc.MethodDescriptor<WriteRequest,WriteResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getGetShardAssignmentsMethod
public static io.grpc.MethodDescriptor<ShardAssignmentsRequest,ShardAssignments> getGetShardAssignmentsMethod() -
getWriteMethod
-
getWriteStreamMethod
-
getReadMethod
-
getListMethod
-
getRangeScanMethod
-
getGetNotificationsMethod
public static io.grpc.MethodDescriptor<NotificationsRequest,NotificationBatch> getGetNotificationsMethod() -
getCreateSessionMethod
public static io.grpc.MethodDescriptor<CreateSessionRequest,CreateSessionResponse> getCreateSessionMethod() -
getKeepAliveMethod
-
getCloseSessionMethod
public static io.grpc.MethodDescriptor<CloseSessionRequest,CloseSessionResponse> getCloseSessionMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(OxiaClientGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-