PdfRasterCacheStats class

Counters for the persistent full-raster tier: whether it is paying for itself, and what it costs.

Shared by every PdfRasterCache.forDocument view of one cache, so a host reads one object for the whole session. Counters are plain ints; the latency totals are microseconds measured only around the encode/decode calls themselves.

Constructors

PdfRasterCacheStats()

Properties

bytesRead int
Bytes handed back by successful loads.
no setter
bytesWritten int
Bytes handed to the store by successful stores.
no setter
decodeMicros int
Total microseconds spent decoding stored rasters.
no setter
encodeMicros int
Total microseconds spent encoding rasters for storage.
no setter
errors int
Corrupt payloads, failed encodes/decodes, and backend exceptions - each one degraded to an ordinary render.
no setter
hashCode int
The hash code for this object.
no setterinherited
hits int
Disk lookups that produced a usable raster.
no setter
meanDecodeMicros double
Mean decode microseconds per hit (0 with no hits).
no setter
meanEncodeMicros double
Mean encode microseconds per stored raster (0 with no stores).
no setter
misses int
Disk lookups that found nothing (or nothing valid).
no setter
rejects int
Stores declined before any I/O (tier disabled, no document key, an encode that produced nothing).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stores int
Rasters written to the store.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Clears every counter (a benchmark opening a fresh measurement window).
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited