Package org.apache.pekko.io.dns
Class CachePolicy.Ttl$
- java.lang.Object
-
- org.apache.pekko.io.dns.CachePolicy.Ttl$
-
- Enclosing class:
- CachePolicy
public static class CachePolicy.Ttl$ extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CachePolicy.Ttl$.TtlIsOrdered$
-
Field Summary
Fields Modifier and Type Field Description static CachePolicy.Ttl$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Ttl$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachePolicy.Ttl
effectivelyForever()
CachePolicy.Ttl
fromPositive(java.time.Duration value)
CachePolicy.Ttl
fromPositive(scala.concurrent.duration.FiniteDuration value)
CachePolicy.Ttl
never()
scala.Option<scala.concurrent.duration.FiniteDuration>
unapply(CachePolicy.Ttl ttl)
-
-
-
Field Detail
-
MODULE$
public static final CachePolicy.Ttl$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
unapply
public scala.Option<scala.concurrent.duration.FiniteDuration> unapply(CachePolicy.Ttl ttl)
-
fromPositive
public CachePolicy.Ttl fromPositive(scala.concurrent.duration.FiniteDuration value)
-
fromPositive
public CachePolicy.Ttl fromPositive(java.time.Duration value)
-
never
public CachePolicy.Ttl never()
-
effectivelyForever
public CachePolicy.Ttl effectivelyForever()
-
-