-
- All Implemented Interfaces:
public class StorageBase<KeyType extends Object, ValueType extends Object>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStorageBase.Companion
-
Field Summary
Fields Modifier and Type Field Description private Map<String, Map<KeyType, ValueType>>modesByShipprivate final StringpersistentDataKey
-
Constructor Summary
Constructors Constructor Description StorageBase(String persistentDataKey)
-
Method Summary
Modifier and Type Method Description final Map<String, Map<KeyType, ValueType>>getModesByShip()final UnitsetModesByShip(Map<String, Map<KeyType, ValueType>> modesByShip)final StringgetPersistentDataKey()final <T extends Any> UnitpurgeIfNecessary()final Unitpurge()-
-
Constructor Detail
-
StorageBase
StorageBase(String persistentDataKey)
-
-
Method Detail
-
getPersistentDataKey
final String getPersistentDataKey()
-
purgeIfNecessary
final <T extends Any> Unit purgeIfNecessary()
-
-
-
-