Class ForestInfo

  • All Implemented Interfaces:
    org.apache.hadoop.io.Writable

    public class ForestInfo
    extends Object
    implements org.apache.hadoop.io.Writable
    • Constructor Detail

      • ForestInfo

        public ForestInfo()
      • ForestInfo

        public ForestInfo​(String hostName,
                          long fmCount,
                          boolean updatable,
                          List<ForestHost> replicas)
    • Method Detail

      • getFragmentCount

        public long getFragmentCount()
      • getHostName

        public String getHostName()
      • getUpdatable

        public boolean getUpdatable()
      • readFields

        public void readFields​(DataInput in)
                        throws IOException
        Specified by:
        readFields in interface org.apache.hadoop.io.Writable
        Throws:
        IOException