p
scalacache
package scalacache
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- scalacache
- JavaSerializationCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type NoSerialization = InMemoryRepr
Value Members
-
implicit
def
AnyRefBinaryCodec[S <: Serializable](implicit ev: ClassTag[S]): Codec[S, Array[Byte]]
- Definition Classes
- JavaSerializationCodec
- def caching[V, Repr](keyParts: Any*)(f: ⇒ Future[V])(implicit scalaCache: ScalaCache[Repr], flags: Flags, execContext: ExecutionContext, codec: Codec[V, Repr]): Future[V]
- def cachingForMemoize[V, Repr](key: String)(optionalTtl: Option[Duration])(f: ⇒ Future[V])(implicit scalaCache: ScalaCache[Repr], flags: Flags, execContext: ExecutionContext, codec: Codec[V, Repr]): Future[V]
- def cachingWithOptionalTTL[V, Repr](keyParts: Any*)(optionalTtl: Option[Duration])(f: ⇒ Future[V])(implicit scalaCache: ScalaCache[Repr], flags: Flags, execContext: ExecutionContext, codec: Codec[V, Repr]): Future[V]
- def cachingWithTTL[V, Repr](keyParts: Any*)(ttl: Duration)(f: ⇒ Future[V])(implicit scalaCache: ScalaCache[Repr], flags: Flags, execContext: ExecutionContext, codec: Codec[V, Repr]): Future[V]
- def get[V, Repr](keyParts: Any*)(implicit scalaCache: ScalaCache[Repr], flags: Flags, codec: Codec[V, Repr]): Future[Option[V]]
- def put[V, Repr](keyParts: Any*)(value: V, ttl: Option[Duration])(implicit scalaCache: ScalaCache[Repr], flags: Flags, codec: Codec[V, Repr]): Future[Unit]
- def remove(keyParts: Any*)(implicit scalaCache: ScalaCache[_]): Future[Unit]
- def removeAll()(implicit scalaCache: ScalaCache[_]): Future[Unit]
- def typed[V, Repr](implicit scalaCache: ScalaCache[Repr], codec: Codec[V, Repr]): TypedApi[V, Repr]
Deprecated Value Members
-
def
getSync[V, Repr](keyParts: Any*)(implicit scalaCache: ScalaCache[Repr], flags: Flags, codec: Codec[V, Repr]): Option[V]
- Annotations
- @deprecated
- Deprecated
(Since version 0.7.0) This method has moved. Please use scalacache.sync.get