- java.lang.Object
-
- swim.store.StorageProxy
-
- swim.store.mem.MemStorage
-
- All Implemented Interfaces:
Storage
,StorageBinding
,StorageContext
public class MemStorage extends StorageProxy
-
-
Field Summary
-
Fields inherited from class swim.store.StorageProxy
storageContext
-
-
Constructor Summary
Constructors Constructor Description MemStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreBinding
createStore()
double
storagePriority()
Returns the relative priority of thisStorage
implementation.-
Methods inherited from class swim.store.StorageProxy
injectStorage, setStorageContext, storageContext
-
-
-
-
Method Detail
-
storagePriority
public double storagePriority()
Description copied from interface:Storage
Returns the relative priority of thisStorage
implementation. Storage implementations with greater priority inject into storage stacks before implementations with lower priority.- Specified by:
storagePriority
in interfaceStorage
- Specified by:
storagePriority
in classStorageProxy
-
createStore
public StoreBinding createStore()
- Specified by:
createStore
in interfaceStorageContext
- Overrides:
createStore
in classStorageProxy
-
-