Class VolumeField


  • public class VolumeField
    extends java.lang.Object
    Class that holds Node field info. Takes NodeInfo or an int/string to use as node identifier
    • Constructor Summary

      Constructors 
      Constructor Description
      VolumeField​(com.mapr.fs.cldb.proto.CLDBProto.VolumeInfoFields nodeInfo)  
      VolumeField​(com.mapr.fs.proto.Common.PluggableAlarm pluggableAlarm)  
      VolumeField​(java.lang.String fieldName, int fieldId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int getId()  
      java.lang.String getLabel()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • VolumeField

        public VolumeField​(com.mapr.fs.cldb.proto.CLDBProto.VolumeInfoFields nodeInfo)
      • VolumeField

        public VolumeField​(java.lang.String fieldName,
                           int fieldId)
      • VolumeField

        public VolumeField​(com.mapr.fs.proto.Common.PluggableAlarm pluggableAlarm)
    • Method Detail

      • getId

        public int getId()
      • getLabel

        public java.lang.String getLabel()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object