Package com.mapr.fs

Class ClusterConf

  • All Implemented Interfaces:
    com.mapr.fs.jni.MapRConstants

    public class ClusterConf
    extends java.lang.Object
    implements com.mapr.fs.jni.MapRConstants
    • Constructor Detail

      • ClusterConf

        public ClusterConf()
    • Method Detail

      • ipToLong

        public static long ipToLong​(java.lang.String addr)
                             throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException
      • updateClusterEntry

        public void updateClusterEntry​(MapRFileSystem fs,
                                       java.lang.String cName,
                                       java.lang.String[] cldbLocations)
      • updateClusterEntry

        public void updateClusterEntry​(java.lang.String cName,
                                       java.lang.String[] cldbLocations)
      • getClusterByUri

        public ClusterConf.ClusterEntry getClusterByUri​(java.net.URI name)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getClusterByPath

        public ClusterConf.ClusterEntry getClusterByPath​(MapRFileSystem fs,
                                                         java.net.URI p,
                                                         java.net.URI fsUri,
                                                         java.lang.String fsClusterName)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getClusterByPath

        public ClusterConf.ClusterEntry getClusterByPath​(java.net.URI p,
                                                         java.net.URI fsUri,
                                                         java.lang.String fsClusterName)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException