CacheTransactionCapabilities class

Static promises of a transactional cache implementation.

Annotations

Constructors

CacheTransactionCapabilities({required Set<CacheTransactionOperation> operations, required int maxOutstanding, required CacheTransactionOrdering responseOrdering, required CacheSameBlockOrdering sameBlockOrdering, required CacheSameCycleOrdering sameCycleOrdering, Set<int> extensionOperations = const {}, bool supportsMaskedUpdates = false, bool reportsInvalidations = false})
Creates a capability declaration.
factory

Properties

extensionOperations → Set<int>
Additional operation encodings, agreed by the core and its adapter.
final
hashCode → int
The hash code for this object.
no setterinherited
maxOutstanding → int
Maximum accepted requests outstanding across all transaction ports.
final
operations → Set<CacheTransactionOperation>
Operations accepted by this implementation.
final
reportsInvalidations → bool
Whether successful invalidations emit an eviction event.
final
responseOrdering → CacheTransactionOrdering
Ordering of responses on each individual transaction port.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sameBlockOrdering → CacheSameBlockOrdering
Ordering of same-block operations accepted on different edges.
final
sameCycleOrdering → CacheSameCycleOrdering
Ordering of same-block operations accepted on one edge.
final
supportsMaskedUpdates → bool
Whether updates support masks other than all ones.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supportsOperationWidth(int width) → bool
Checks that width can encode every advertised operation.
toString() → String
A string representation of this object.
inherited
validatePort<T extends Logic, M extends Logic, C extends Logic, R extends Logic>(CacheTransactionPort<T, M, C, R> port) → void
Rejects a port that cannot encode all advertised operations.

Operators

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