public interface DataStore
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the store releasing associated system resources
|
void |
commitChanges()
Ensure everything's persisted (synchronous)
|
void |
commitChanges(SynchronizationBarrier barrier)
Ensure everything's persisted (asynchronous)
|
int |
getAbsoluteStoreUsage()
Get the absolute store usage amount (%)
(Ratio of used space over maximum allocatable space)
|
int |
getStoreUsage()
Get the store usage amount (%)
(Ratio of used space over currently allocated space)
|
int |
size()
Get the number of entries in the store
|
void commitChanges(SynchronizationBarrier barrier) throws DataStoreException
DataStoreExceptionvoid commitChanges()
throws DataStoreException
DataStoreExceptionvoid close()
int size()
int getStoreUsage()
int getAbsoluteStoreUsage()
Copyright © 2019. All rights reserved.