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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])