Package akka.io.dns

Class CachePolicy.Ttl

  • Enclosing class:
    CachePolicy

    public static final class CachePolicy.Ttl
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.time.Duration getValue()  
      int hashCode()  
      java.lang.String toString()  
      scala.concurrent.duration.FiniteDuration value()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • value

        public scala.concurrent.duration.FiniteDuration value()
      • getValue

        public java.time.Duration getValue()
      • equals

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object