MissStatusTableImage<LineAddressType extends Object, TransactionTagType extends Object, MetadataType extends Object> class

Logical state of a miss-status table.

The image includes lifecycle state and physical ownership but not the implementation's associative tags, free list, or storage partitioning.

Constructors

MissStatusTableImage(Iterable<MissStatusEntryImage<LineAddressType, TransactionTagType, MetadataType>?> entries)
Creates a miss-status image.

Properties

allocatedCount → int
Number of allocated line misses.
no setter
allocatedIndices → Iterable<int>
Physical indices owned by allocated misses.
no setter
capacity → int
Number of physical miss entries.
no setter
entries → List<MissStatusEntryImage<LineAddressType, TransactionTagType, MetadataType>?>
Allocated misses by physical index.
final
freeIndices → Iterable<int>
Physical indices available for allocation.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({required StateValueEncoder<LineAddressType> encodeLineAddress, required StateValueEncoder<TransactionTagType> encodeTransactionTag, required StateValueEncoder<MetadataType> encodeMetadata}) → Map<String, Object?>
Encodes this image in physical-index order.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson<LineAddressType extends Object, TransactionTagType extends Object, MetadataType extends Object>(Map<String, Object?> json, {required StateValueDecoder<LineAddressType> decodeLineAddress, required StateValueDecoder<TransactionTagType> decodeTransactionTag, required StateValueDecoder<MetadataType> decodeMetadata}) → MissStatusTableImage<LineAddressType, TransactionTagType, MetadataType>
Decodes a miss-status image.

Constants

kind → const String
Stable schema identifier.
version → const int
Current schema version.