Class Configuration

    • Constructor Detail

      • Configuration

        public Configuration()
    • Method Detail

      • defaultConfiguration

        public static final Configuration defaultConfiguration()
        Get the current default configuration.
      • setResolutionMethod

        public void setResolutionMethod​(int resolutionMethod)
      • getResolutionMethod

        public int getResolutionMethod()
      • getCacheSites

        public SiteInfo[] getCacheSites()
      • setCacheSites

        public void setCacheSites​(SiteInfo[] cacheSites)
      • getGlobalSites

        public abstract SiteInfo[] getGlobalSites()
      • setGlobalSites

        public abstract void setGlobalSites​(SiteInfo[] globalSites)
      • getGlobalNamespace

        public abstract NamespaceInfo getGlobalNamespace()
      • getGlobalValues

        public abstract HandleValue[] getGlobalValues()
      • setGlobalValues

        @Deprecated
        public abstract void setGlobalValues​(HandleValue[] globalValues)
        Deprecated.
      • getRootKeys

        public abstract java.util.List<java.security.PublicKey> getRootKeys()
      • setRootKeys

        public abstract void setRootKeys​(java.util.List<java.security.PublicKey> rootKeys)
      • setBootstrapHandles

        public abstract void setBootstrapHandles​(BootstrapHandles bootstrapHandles)
      • persist

        public abstract void persist()
      • getLocalSites

        public SiteInfo[] getLocalSites​(byte[] na)
      • getLocalSites

        public SiteInfo[] getLocalSites​(java.lang.String na)
      • mapLocalAddress

        public java.net.InetAddress mapLocalAddress​(java.net.InetAddress addr)
      • getLocalAddressMap

        public java.util.Map<java.lang.String,​java.lang.String> getLocalAddressMap()
      • saveLocalAddressMap

        public void saveLocalAddressMap()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • setLocalAddressMap

        public void setLocalAddressMap​(java.util.Map<java.lang.String,​java.lang.String> localAddrMap)
      • setLocalSites

        public void setLocalSites​(byte[] na,
                                  SiteInfo[] sites)
      • setLocalSites

        public void setLocalSites​(java.lang.String na,
                                  SiteInfo[] sites)
      • getPreferredGlobalServiceHandle

        public java.lang.String getPreferredGlobalServiceHandle()
      • configureResolver

        public void configureResolver​(HandleResolver resolver)
      • isAutoUpdateRootInfo

        public abstract boolean isAutoUpdateRootInfo()
      • setAutoUpdateRootInfo

        public abstract void setAutoUpdateRootInfo​(boolean enabled)
      • addRootInfoListener

        public void addRootInfoListener​(RootInfoListener listener)
      • removeRootInfoListener

        public void removeRootInfoListener​(RootInfoListener listener)
      • notifyRootInfoOutdated

        public void notifyRootInfoOutdated​(HandleResolver resolver)
      • checkRootInfoUpToDate

        public void checkRootInfoUpToDate​(HandleResolver resolver,
                                          java.lang.String handle,
                                          HandleValue[] handleValues)
      • isBootstrapHandlesOld

        public boolean isBootstrapHandlesOld()
      • startAutoUpdate

        public void startAutoUpdate​(HandleResolver resolver)