HiveDefaultStore class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
clear (String name )
→ Future <void >
Clears a named cache store
inherited
containsKey (String name , String key )
→ Future <bool >
Checks if the named cache store contains a value indexed by key
inherited
delete (String name )
→ Future <void >
Deletes a named cache from a store
inherited
deleteAll ()
→ Future <void >
Deletes all caches from the store
inherited
getEntry (String name , String key )
→ Future <CacheEntry? >
Returns the CacheEntry
for the named cache value specified key
.
inherited
getStat (String name , String key )
→ Future <CacheStat? >
Returns the CacheStat
for the specified cache key
. It provides
an optimized retrieval strategy that avoids reading the CacheEntry
implementation into memory
inherited
getStats (String name , Iterable <String > keys )
→ Future <Iterable <CacheStat? > >
Returns a Iterable over all the non nullable CacheStore
CacheStat
s
keys requested of a named cache. It provides a optimized retrieval strategy
that avoids reading the CacheEntry
implementation into memory
inherited
keys (String name )
→ Future <Iterable <String > >
Returns a Iterable over all the CacheStore
keys for the named cache
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putEntry (String name , String key , CacheEntry entry )
→ Future <void >
Puts a cache entry identified by key
on the named cache CacheStore
. The value is overriden if already exists or
added if it does not exists.
inherited
remove (String name , String key )
→ Future <void >
Removes the stored CacheEntry
for the specified key
.
inherited
setStat (String name , String key , CacheStat stat )
→ Future <void >
Sets the cache CacheStat
by name
and key
.
inherited
size (String name )
→ Future <int >
The number of entries in the store for the named cache
inherited
stats (String name )
→ Future <Iterable <CacheStat > >
Returns a Iterable over all the CacheStore
CacheStat
s for a named cache. It provides
a optimized retrieval strategy that avoids reading the CacheEntry
implementation into memory
inherited
toString ()
→ String
A string representation of this object.
inherited
values (String name )
→ Future <Iterable <CacheEntry > >
Returns a Iterable over all the CacheStore
CacheEntry
s of a named cache.
inherited