hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/ContainerData.java
public synchronized void closeContainer() {
    // TODO: closed or closing here
    setState(HddsProtos.LifeCycleState.CLOSED);

    // Some thing brain dead for now. name + Time stamp of when we get the close
    // container message.
    setHash(DigestUtils.sha256Hex(this.getContainerName() +
        Long.toString(Time.monotonicNow())));
  }
/**
   * Marks this container as closed.
   */
Marks this container as closed.
Marks this container as closed .
public synchronized void closeContainer() {
    setState(HddsProtos.LifeCycleState.CLOSED);
    setHash(DigestUtils.sha256Hex(this.getContainerName() +
        Long.toString(Time.monotonicNow())));
  }
public synchronized void closeContainer ( ) { setState ( HddsProtos . LifeCycleState . CLOSED ) ; setHash ( DigestUtils . sha256Hex ( this . getContainerName ( ) + Long . toString ( Time . monotonicNow ( ) ) ) ) ; }
Marks this container as closed.
Marks this container as closed .
// TODO: closed or closing here // Some thing brain dead for now. name + Time stamp of when we get the close // container message.