Class CachePolicy.Ttl$

  • Enclosing class:
    CachePolicy

    public static class CachePolicy.Ttl$
    extends java.lang.Object
    • Field Detail

      • MODULE$

        public static final CachePolicy.Ttl$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Ttl$

        public Ttl$()
    • 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)