PixaCacheStoreCapabilities class final

Capabilities required from a production Pixa cache store.

Constructors

PixaCacheStoreCapabilities({required bool binaryValues, required bool metadataSidecar, required bool atomicWrites, required bool checksumValidation, required bool ttl, required bool namespaceIsolation, required bool sizeEviction, required bool corruptionRecovery, required bool concurrentEntryGuards, required bool ownedReadBuffers, required bool dartStorageRuntime})
Creates a capability description.
const
PixaCacheStoreCapabilities.runtimeImageCache()
Pixa's runtime image-cache store capabilities.
const

Properties

atomicWrites bool
Writes are crash-safe and not visible until complete.
final
binaryValues bool
Stores encoded image bytes as binary values.
final
checksumValidation bool
Reads validate length/checksum before returning bytes.
final
concurrentEntryGuards bool
Same-entry writes are serialized.
final
corruptionRecovery bool
Corrupt entries are removed instead of returned.
final
dartStorageRuntime bool
Whether this store requires a Dart-side storage runtime.
final
hashCode int
The hash code for this object.
no setterinherited
metadataSidecar bool
Persists structured metadata next to bytes.
final
namespaceIsolation bool
Namespaces are isolated for clear/evict/privacy policy.
final
ownedReadBuffers bool
Read buffers are owned by runtime code until explicitly released.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeEviction bool
Store can evict old entries by byte budget.
final
ttl bool
Entries can expire by time-to-live.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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