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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RequestCacheUpdate
- Serializable
- Product
- Equals
- CacheEvent
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- 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
- RequestCacheUpdate → CacheEvent
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val registry: CacheTypeRegistry
- val request: Request[Data]
- val requestResponse: RequestResponse[Data]