c

one.xingyi.core.cache

CachingService

class CachingService[M[_], Req, Res] extends (Req) => M[Res] with Cache[M, Req, Res] with HasCachingCommands[M, Req, Res] with CachingInfoAndOps

Linear Supertypes
CachingInfoAndOps, HasCachingCommands[M, Req, Res], Cache[M, Req, Res], (Req) => M[Res], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CachingService
  2. CachingInfoAndOps
  3. HasCachingCommands
  4. Cache
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CachingService(name: String, raw: (Req) => M[Res], cachingStrategy: StaleCacheStrategy, sizeStrategy: MapSizeStrategy)(implicit arg0: MonadWithException[M], arg1: CachableKey[Req], arg2: ShouldCacheResult[Res], timeService: NanoTimeService)

Type Members

  1. trait CacheCommand extends AnyRef
    Definition Classes
    HasCachingCommands
  2. case class DeadNeedsClearingAndDelegation(req: Req, rawCachedValue: CachedValue[M, Res]) extends NeedsToSendDelegateCacheCommand with Product with Serializable
    Definition Classes
    HasCachingCommands
  3. case class DeadSomethingInTransit(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
    Definition Classes
    HasCachingCommands
  4. case class HasFreshData(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
    Definition Classes
    HasCachingCommands
  5. case class HasInTransitDataOnly(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
    Definition Classes
    HasCachingCommands
  6. case class HasStaleDataNeedsDelegation(req: Req, cachedValue: CachedValue[M, Res]) extends NeedsToSendDelegateCacheCommand with UpdateStaleMetrics with Product with Serializable
    Definition Classes
    HasCachingCommands
  7. case class HasStaleDataSomethingInTransit(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with UpdateStaleMetrics with Product with Serializable
    Definition Classes
    HasCachingCommands
  8. trait NeedsToSendDelegateCacheCommand extends CacheCommand
    Definition Classes
    HasCachingCommands
  9. case class NoData(req: Req, cachedValue: CachedValue[M, Res]) extends NeedsToSendDelegateCacheCommand with Product with Serializable
    Definition Classes
    HasCachingCommands
  10. case class UnexpectedState(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
    Definition Classes
    HasCachingCommands
  11. trait UpdateStaleMetrics extends CacheCommand
    Definition Classes
    HasCachingCommands

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (M[Res]) => A): (Req) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(req: Req): M[Res]
    Definition Classes
    CachingService → Function1
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val cachableKey: CachableKey[Req]
  8. val cachableResult: ShouldCacheResult[Res]
  9. def cachingMetrics: CachingMetricSnapShot
    Definition Classes
    CachingServiceCachingInfoAndOps
  10. val cachingStrategy: StaleCacheStrategy
    Attributes
    protected
  11. def clear: Unit
    Definition Classes
    CachingServiceCachingInfoAndOpsCache
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. def compose[A](g: (A) => Req): (A) => M[Res]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def findCommand(req: Req, staleState: (CachedValue[M, Res]) => StaleState)(c: CachedValue[M, Res]): CacheCommand
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val map: LowLevelSafeMap[AtomicReference, Id, CachedValue[M, Res]]
    Attributes
    protected
  21. val metrics: CachingMetrics
    Attributes
    protected
  22. val name: String
    Definition Classes
    CachingServiceCachingInfoAndOps
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. val raw: (Req) => M[Res]
    Definition Classes
    CachingServiceCache
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from CachingInfoAndOps

Inherited from HasCachingCommands[M, Req, Res]

Inherited from Cache[M, Req, Res]

Inherited from (Req) => M[Res]

Inherited from AnyRef

Inherited from Any

Ungrouped