hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java
@Override
  public void close() throws IOException {
    if (blockStore != null) {
      blockStore.close();
    }
    if (deletedBlockLog != null) {
      deletedBlockLog.close();
    }
    blockDeletingService.shutdown();
    if (mxBean != null) {
      MBeans.unregister(mxBean);
      mxBean = null;
    }
  }
/**
   * Close the resources for BlockManager.
   *
   * @throws IOException
   */
Close the resources for BlockManager.
Close the resources for BlockManager .
@Override
  public void close() throws IOException {
    if (blockStore != null) {
      blockStore.close();
    }
    if (deletedBlockLog != null) {
      deletedBlockLog.close();
    }
    blockDeletingService.shutdown();
    if (mxBean != null) {
      MBeans.unregister(mxBean);
      mxBean = null;
    }
  }
@ Override public void close ( ) throws IOException { if ( blockStore != null ) { blockStore . close ( ) ; } if ( deletedBlockLog != null ) { deletedBlockLog . close ( ) ; } blockDeletingService . shutdown ( ) ; if ( mxBean != null ) { MBeans . unregister ( mxBean ) ; mxBean = null ; } }
Close the resources for BlockManager.
Close the resources for BlockManager .