case class RequestCacheUpdate[Data](requestResponse: RequestResponse[Data], request: Request[Data], registry: CacheTypeRegistry) extends CacheEvent with Product with Serializable

A cache event that will try to put the data of the response into the cache.

Data

The type of the request response.

requestResponse

The response to the request.

request

The request used to get the response.

registry

The handler registry that the event will use to update the snapshot.

Source
cacheUpdates.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestCacheUpdate
  2. Serializable
  3. Product
  4. Equals
  5. CacheEvent
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RequestCacheUpdate(requestResponse: RequestResponse[Data], request: Request[Data], registry: CacheTypeRegistry)

    requestResponse

    The response to the request.

    request

    The request used to get the response.

    registry

    The handler registry that the event will use to update the snapshot.

Value Members

  1. def process(builder: CacheSnapshotBuilder): Unit

    Updates a ackcord.cachehandlers.CacheSnapshotBuilder according to this event.

    Updates a ackcord.cachehandlers.CacheSnapshotBuilder according to this event.

    Definition Classes
    RequestCacheUpdateCacheEvent
  2. def productElementNames: Iterator[String]
    Definition Classes
    Product
  3. val registry: CacheTypeRegistry
  4. val request: Request[Data]
  5. val requestResponse: RequestResponse[Data]