public class MemoryStorageService extends AbstractMapBackedStorageService
AbstractMapBackedStorageService that stores data in-memory in a shared data structure
with no persistence.| Constructor and Description |
|---|
MemoryStorageService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDestroy() |
protected void |
doInitialize() |
protected TimerTask |
getCleanupTask()
Returns a cleanup task function to schedule for background cleanup.
|
protected Map<String,Map<String,MutableStorageRecord>> |
getContextMap()
Get the map of contexts to manipulate during operations.
|
protected ReadWriteLock |
getLock()
Get the shared lock to synchronize access.
|
create, delete, deleteContext, deleteImpl, deleteWithVersion, read, read, readImpl, reap, reapWithLock, update, updateContextExpiration, updateExpiration, updateImpl, updateWithVersioncreate, create, delete, deleteWithVersion, getCapabilities, getCleanupInterval, getCleanupTaskTimer, getContextSize, getKeySize, getValueSize, read, setCleanupInterval, setCleanupTaskTimer, setContextSize, setKeySize, setValueSize, update, update, updateExpiration, updateWithVersion, updateWithVersionsetIdgetIddestroy, initialize, isDestroyed, isInitializedprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class AbstractStorageServicenet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected void doDestroy()
doDestroy in class AbstractStorageService@Nonnull @NonnullElements @Live protected Map<String,Map<String,MutableStorageRecord>> getContextMap()
getContextMap in class AbstractMapBackedStorageService@Nonnull protected ReadWriteLock getLock()
getLock in class AbstractMapBackedStorageService@Nullable protected TimerTask getCleanupTask()
The default implementation does not supply one.
getCleanupTask in class AbstractStorageServiceCopyright © 2021. All rights reserved.