Package org.pac4j.core.store
Class AbstractStore<K,O>
java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.store.AbstractStore<K,O>
- All Implemented Interfaces:
Store<K,
O>
- Direct Known Subclasses:
GuavaStore
Abstract store.
- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a value by key.internalGet
(K key) protected void
internalInit
(boolean forceReinit) Internal initialization of the object.protected abstract void
internalRemove
(K key) protected abstract void
internalSet
(K key, O value) void
Remove the value associated to the key.void
Set a value by its key.Methods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getNbAttempts, init, init, isInitialized, reinit, shouldInitialize
-
Constructor Details
-
AbstractStore
public AbstractStore()
-
-
Method Details
-
internalInit
protected void internalInit(boolean forceReinit) Description copied from class:InitializableObject
Internal initialization of the object.- Specified by:
internalInit
in classInitializableObject
-
get
Description copied from interface:Store
Get a value by key. -
set
Description copied from interface:Store
Set a value by its key. -
remove
Description copied from interface:Store
Remove the value associated to the key. -
internalGet
-
internalSet
-
internalRemove
-