Class GrpcXceiverService
java.lang.Object
org.apache.hadoop.hdds.protocol.datanode.proto.XceiverClientProtocolServiceGrpc.XceiverClientProtocolServiceImplBase
org.apache.hadoop.ozone.container.common.transport.server.GrpcXceiverService
- All Implemented Interfaces:
org.apache.hadoop.hdds.protocol.datanode.proto.XceiverClientProtocolServiceGrpc.AsyncService,org.apache.ratis.thirdparty.io.grpc.BindableService
public class GrpcXceiverService
extends org.apache.hadoop.hdds.protocol.datanode.proto.XceiverClientProtocolServiceGrpc.XceiverClientProtocolServiceImplBase
Grpc Service for handling Container Commands on datanode.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ratis.thirdparty.io.grpc.ServerServiceDefinitionBind service with zerocopy marshaller equipped for the `send` API.org.apache.ratis.thirdparty.io.grpc.stub.StreamObserver<org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.ContainerCommandRequestProto> send(org.apache.ratis.thirdparty.io.grpc.stub.StreamObserver<org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.ContainerCommandResponseProto> responseObserver) Methods inherited from class org.apache.hadoop.hdds.protocol.datanode.proto.XceiverClientProtocolServiceGrpc.XceiverClientProtocolServiceImplBase
bindService
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
GrpcXceiverService
-
-
Method Details
-
bindServiceWithZeroCopy
public org.apache.ratis.thirdparty.io.grpc.ServerServiceDefinition bindServiceWithZeroCopy()Bind service with zerocopy marshaller equipped for the `send` API.- Returns:
- service definition.
-
send
public org.apache.ratis.thirdparty.io.grpc.stub.StreamObserver<org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.ContainerCommandRequestProto> send(org.apache.ratis.thirdparty.io.grpc.stub.StreamObserver<org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos.ContainerCommandResponseProto> responseObserver)
-