Package com.mapr.fs

Class ClusterConf.ClusterEntry

  • Enclosing class:
    ClusterConf

    public class ClusterConf.ClusterEntry
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClusterEntry​(java.lang.String clusterName, java.util.List<com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.SocketAddr> sockAddrsList, java.util.List<java.lang.Long> numIpsPerCldbList)  
    • Constructor Detail

      • ClusterEntry

        public ClusterEntry​(java.lang.String clusterName,
                            java.util.List<com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.SocketAddr> sockAddrsList,
                            java.util.List<java.lang.Long> numIpsPerCldbList)
                     throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException
    • Method Detail

      • getClusterName

        public java.lang.String getClusterName()
      • rereadConf

        public void rereadConf​(MapRFileSystem fs)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getSocketAddrsList

        public java.util.List<com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.SocketAddr> getSocketAddrsList()
      • getIPs

        public com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.SocketAddr[] getIPs​(MapRFileSystem fs)
                                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getNumIpsPerCldb

        public long[] getNumIpsPerCldb()
                                throws java.io.IOException
        Throws:
        java.io.IOException