stash_hive library

Provides a Hive implementation of the Stash caching API for Dart

Classes

HiveAdapter<T extends BoxBase<Map>>
The HiveAdapter provides a bridge between the store and the Hive backend
HiveCacheStore<T extends BoxBase<Map>>
The Hive cache store
HiveDefaultAdapter
HiveDefaultCacheStore
The default Hive cache store
HiveDefaultVaultStore
The default Hive vault store
HiveLazyAdapter
HiveLazyCacheStore
The lazy Hive cache store
HiveLazyVaultStore
The lazy Hive vault store
HiveStore<T extends BoxBase<Map>, I extends Info, E extends Entry<I>>
Hive based implemention of a Store
HiveVaultStore<T extends BoxBase<Map>>
The Hive vault store

Functions

newHiveDefaultCacheStore({String? path, StoreCodec? codec, HiveCipher? encryptionCipher, bool? crashRecovery}) Future<HiveDefaultCacheStore>
Creates a new HiveDefaultCacheStore
newHiveDefaultVaultStore({String? path, StoreCodec? codec, HiveCipher? encryptionCipher, bool? crashRecovery}) Future<HiveDefaultVaultStore>
Creates a new HiveDefaultVaultStore
newHiveLazyCacheStore({String? path, StoreCodec? codec, HiveCipher? encryptionCipher, bool? crashRecovery}) Future<HiveLazyCacheStore>
Creates a new HiveLazyCacheStore
newHiveLazyVaultStore({String? path, StoreCodec? codec, HiveCipher? encryptionCipher, bool? crashRecovery}) Future<HiveLazyVaultStore>
Creates a new HiveLazyVaultStore