StateCacheOptions
class StateCacheOptions @InternalWowApi constructor(val capacity: Int? = null, val recentRequests: Int = Kernel.DEFAULT_RECENT_REQUESTS)
What each context's state cache keeps between commands.
capacity: the aggregate states kept per context; 0 keeps none, null (the default) sizes each context's cache from the heap (StateCacheSizing).
recentRequests: the requests each cached aggregate keeps of those it committed last, derived from the log, so that most commands skip looking their request id up; 0 looks every request id up.
Fields may be added: Wow builds it from the host's configuration, so the constructor is internal to Wow.
Constructors
Functions
Link copied to clipboard
fun copyWith(capacity: Int? = this.capacity, recentRequests: Int = this.recentRequests): StateCacheOptions
This StateCacheOptions with the given fields replaced: Wow's own copy, left out of the ABI.