Package akka.io.dns
Class CachePolicy.Ttl
- java.lang.Object
-
- akka.io.dns.CachePolicy.Ttl
-
- All Implemented Interfaces:
CachePolicy$CachePolicy
- Enclosing class:
- CachePolicy
public static final class CachePolicy.Ttl extends java.lang.Object implements CachePolicy$CachePolicy
-
-
Constructor Summary
Constructors Constructor Description Ttl()
-
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()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-