Class GlobusGSSName.ReverseDNSCache

  • Enclosing class:
    GlobusGSSName

    static class GlobusGSSName.ReverseDNSCache
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ReverseDNSCache​(long duration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void enforceConstraints()  
      protected java.util.concurrent.Future<java.lang.String> getCached​(java.lang.String ip)  
      java.lang.String resolve​(java.lang.String ip)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • duration

        final long duration
      • threads

        final java.util.concurrent.ExecutorService threads
      • oldest

        long oldest
    • Constructor Detail

      • ReverseDNSCache

        public ReverseDNSCache​(long duration)
    • Method Detail

      • enforceConstraints

        protected void enforceConstraints()
      • getCached

        protected java.util.concurrent.Future<java.lang.String> getCached​(java.lang.String ip)
      • resolve

        public java.lang.String resolve​(java.lang.String ip)
                                 throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException