CacheDatabaseOperation class final
A maintenance action on a runtime's cache database.
The cache database is the file that RuntimeOptions.cachePath names. It
holds the ambient cache, meaning the resources that maps loaded, and the
offline regions.
See mln_cache_database_operation in the
C API reference.
Constructors
- CacheDatabaseOperation.fromRawValue(int rawValue)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- clear → const CacheDatabaseOperation
- Deletes the ambient cache's resources and frees the space they used. Offline regions keep their resources.
- invalidate → const CacheDatabaseOperation
- Keeps the ambient cache's resources, but makes maps check each one with the server before they use it again. Offline regions keep their resources as they are.
- pack → const CacheDatabaseOperation
- Compacts the whole database file to free the disk space that it no longer uses.
- reset → const CacheDatabaseOperation
- Deletes the whole database, offline regions included, and starts an empty one.