Class ContainerInformation


  • public class ContainerInformation
    extends java.lang.Object
    Container basic information for capacity feature
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getUsableSpace()
      Get usable space
      void setUsableSpace​(long usableSpace)
      Set usable space
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContainerInformation

        public ContainerInformation()
    • Method Detail

      • getUsableSpace

        public long getUsableSpace()
        Get usable space
        Returns:
        usable space in byte,
        return -1 if usable space not specified
      • setUsableSpace

        public void setUsableSpace​(long usableSpace)
        Set usable space
        Parameters:
        usableSpace - usable space in byte