IsolatedHiveInterface class abstract
Interface for IsolatedHive
- Implemented types
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
-
box<
E> (String name) → IsolatedBox< E> - Get an object to communicate with the isolated box
-
boxExists(
String name, {String? path}) → Future< bool> - Check if a box exists in the isolate
-
close(
) → Future< void> - Shutdown the isolate
-
deleteBoxFromDisk(
String name, {String? path}) → Future< void> - Delete a box from the disk
-
deleteFromDisk(
) → Future< void> - Delete all boxes from the disk
-
ignoreTypeId<
T> (int typeId) → void -
Ignore type
inherited
-
init(
String? path, {IsolateNameServer? isolateNameServer}) → Future< void> - Initialize the isolated Hive instance
-
isAdapterRegistered(
int typeId) → bool -
Returns true if a TypeAdapter is registered
inherited
-
isBoxOpen(
String name) → bool - Check if a box is open in the isolate
-
lazyBox<
E> (String name) → IsolatedLazyBox< E> - Get an object to communicate with the isolated box
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openBox<
E> (String name, {HiveCipher? encryptionCipher, KeyComparator? keyComparator, CompactionStrategy? compactionStrategy, bool crashRecovery = true, String? path, Uint8List? bytes, String? collection}) → Future< IsolatedBox< E> > - Open a box in the isolate
-
openLazyBox<
E> (String name, {HiveCipher? encryptionCipher, KeyComparator? keyComparator, CompactionStrategy? compactionStrategy, bool crashRecovery = true, String? path, String? collection}) → Future< IsolatedLazyBox< E> > - Open a lazy box in the isolate
-
registerAdapter<
T> (TypeAdapter< T> adapter, {bool internal = false, bool override = false}) → void -
Register a TypeAdapter to announce it to Hive.
inherited
-
resetAdapters(
) → void - Reset the adapters in the isolate
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited