StoreManagement class
Manages an FMTCStore's representation on the filesystem, such as creation and deletion
If the store is not in the expected state (of existence) when invoking an operation, then an error will be thrown (StoreNotExists). It is recommended to check ready when necessary.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxLength
→ Future<
int?> -
Retrieve the maximum allowable number of tiles within the specified store
no setter
-
ready
→ Future<
bool> -
Check whether the specified store currently exists
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
{int? maxLength}) → Future< void> - Create a new store with the specified name
-
delete(
) → Future< void> - Delete the specified store
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeTilesOlderThan(
{required DateTime expiry}) → Future< void> - Remove tiles that were last modified prior to the expiry timestamp from the specified store
-
rename(
String newStoreName) → Future< FMTCStore> - Change the name of the specified store to the specified new store name
-
reset(
) → Future< void> - Remove all the tiles from within the specified store
-
setMaxLength(
int? newMaxLength) → Future< void> - Set the maximum allowable number of tiles within the specified store
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited