hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/Dispatcher.java
private ContainerCommandResponseProto smallFileHandler(
      ContainerCommandRequestProto msg) throws StorageContainerException {
    switch (msg.getCmdType()) {
    case PutSmallFile:
      return handlePutSmallFile(msg);
    case GetSmallFile:
      return handleGetSmallFile(msg);
    default:
      return ContainerUtils.unsupportedRequest(msg);
    }
  }
/**
   * Dispatch calls to small file hanlder.
   * @param msg - request
   * @return response
   * @throws StorageContainerException
   */
Dispatch calls to small file hanlder.
@param msg - request
@return response
@throws StorageContainerException
Dispatch calls to small file hanlder . @param msg - request @return response @throws StorageContainerException
private ContainerCommandResponseProto smallFileHandler(
      ContainerCommandRequestProto msg) throws StorageContainerException {
    switch (msg.getCmdType()) {
    case PutSmallFile:
      return handlePutSmallFile(msg);
    case GetSmallFile:
      return handleGetSmallFile(msg);
    default:
      return ContainerUtils.unsupportedRequest(msg);
    }
  }
private ContainerCommandResponseProto smallFileHandler ( ContainerCommandRequestProto msg ) throws StorageContainerException { switch ( msg . getCmdType ( ) ) { case PutSmallFile : return handlePutSmallFile ( msg ) ; case GetSmallFile : return handleGetSmallFile ( msg ) ; default : return ContainerUtils . unsupportedRequest ( msg ) ; } }
Dispatch calls to small file hanlder.
Dispatch calls to small file hanlder .