class CachingService[M[_], Req, Res] extends (Req) ⇒ M[Res] with Cache[M, Req, Res] with HasCachingCommands[M, Req, Res] with CachingInfoAndOps
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CachingService
- CachingInfoAndOps
- HasCachingCommands
- Cache
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- 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
-
trait
CacheCommand extends AnyRef
- Definition Classes
- HasCachingCommands
-
case class
DeadNeedsClearingAndDelegation(req: Req, rawCachedValue: CachedValue[M, Res]) extends NeedsToSendDelegateCacheCommand with Product with Serializable
- Definition Classes
- HasCachingCommands
-
case class
DeadSomethingInTransit(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
- Definition Classes
- HasCachingCommands
-
case class
HasFreshData(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
- Definition Classes
- HasCachingCommands
-
case class
HasInTransitDataOnly(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
- Definition Classes
- HasCachingCommands
-
case class
HasStaleDataNeedsDelegation(req: Req, cachedValue: CachedValue[M, Res]) extends NeedsToSendDelegateCacheCommand with UpdateStaleMetrics with Product with Serializable
- Definition Classes
- HasCachingCommands
-
case class
HasStaleDataSomethingInTransit(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with UpdateStaleMetrics with Product with Serializable
- Definition Classes
- HasCachingCommands
-
trait
NeedsToSendDelegateCacheCommand extends CacheCommand
- Definition Classes
- HasCachingCommands
-
case class
NoData(req: Req, cachedValue: CachedValue[M, Res]) extends NeedsToSendDelegateCacheCommand with Product with Serializable
- Definition Classes
- HasCachingCommands
-
case class
UnexpectedState(req: Req, cachedValue: CachedValue[M, Res]) extends CacheCommand with Product with Serializable
- Definition Classes
- HasCachingCommands
-
trait
UpdateStaleMetrics extends CacheCommand
- Definition Classes
- HasCachingCommands
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThen[A](g: (M[Res]) ⇒ A): (Req) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(req: Req): M[Res]
- Definition Classes
- CachingService → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cachableKey: CachableKey[Req]
- val cachableResult: ShouldCacheResult[Res]
-
def
cachingMetrics: CachingMetricSnapShot
- Definition Classes
- CachingService → CachingInfoAndOps
-
val
cachingStrategy: StaleCacheStrategy
- Attributes
- protected
-
def
clear: Unit
- Definition Classes
- CachingService → CachingInfoAndOps → Cache
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
compose[A](g: (A) ⇒ Req): (A) ⇒ M[Res]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def findCommand(req: Req, staleState: (CachedValue[M, Res]) ⇒ StaleState)(c: CachedValue[M, Res]): CacheCommand
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
map: LowLevelSafeMap[AtomicReference, Id, CachedValue[M, Res]]
- Attributes
- protected
-
val
metrics: CachingMetrics
- Attributes
- protected
-
val
name: String
- Definition Classes
- CachingService → CachingInfoAndOps
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
raw: (Req) ⇒ M[Res]
- Definition Classes
- CachingService → Cache
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated