SecondaryKeyStore<K, V, T> class Null safety

Implemented types

Constructors

SecondaryKeyStore()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

create(K key, V value, {int? time_to_live, int? time_to_born, int? time_to_refresh, bool? isCascade, bool? isBinary, bool? isEncrypted}) Future
If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value. [...]
inherited
deleteExpiredKeys() bool
Removes all expired keys from keystore
get(K key) Future<V>?
Retrieves a Future value for the key passed from the key store. [...]
inherited
getExpiredKeys() List<K>
Retrieves all keys have that expired. @return - List of keys that have expired
getKeys({String? regex}) List<K>
Returns the list of keys, optionally keys can be searched on regular expression @param - String : This is an optional parameter that accepts the regular expression and returns keys that finds the match @return - List : Returns list of keys
getMeta(K key) Future<T>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
put(K key, V value, {int? time_to_live, int? time_to_born, int? time_to_refresh, bool? isCascade, bool? isBinary, bool? isEncrypted, String? dataSignature}) Future
Associates the specified value with the specified key. If the key store previously contained a mapping for the key, the old value is replaced by the specified value. [...]
inherited
putAll(K key, V value, T metadata) Future
inherited
putMeta(K key, T metadata) Future
inherited
remove(K key) Future
Removes the mapping for a key from this key store if it is present [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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