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
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.ratis.thirdparty.io.grpc.ServerServiceDefinition
    Bind 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Constructor Details

  • 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)