WritableKeystore<K, V> class
abstract
WritableKeystore represents a data store like a database that allows CRUD operations on the values belonging to the keys
- Implemented types
-
- Keystore<
K, V>
- Keystore<
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
K key, V value, {int? time_to_live, int? time_to_born, int? time_to_refresh, bool? isCascade, bool? isBinary, bool? isEncrypted, String? dataSignature, String? publicKeyChecksum, String? encoding, String? encKeyName, String? encAlgo, String? ivNonce, String? skeEncKeyName, String? skeEncAlgo, bool skipCommit = false}) → 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.
-
get(
K key) → Future< V> ? -
Retrieves a Future value for the key passed from the key store.
inherited
-
initialize(
) → Future< void> - Subclasses should put any necessary post-construction async initialization in this method
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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, String? publicKeyChecksum, String? encoding, String? encKeyName, String? encAlgo, String? ivNonce, String? skeEncKeyName, String? skeEncAlgo, bool skipCommit = false}) → 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.
-
remove(
K key, {bool skipCommit = false}) → Future - Removes the mapping for a key from this key store if it is present
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited