API Note
Similar to org.,
some methods represent "transactional" (access to Session) and some are non-"transactional"
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public boolean | |
| public void | |
| public void | |
| public Object | |
| public void | putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
Put an item into the cache |
| public void | |
| public default void | removeFromCache(Object key, SharedSessionContractImplementor session)
Remove an item from the cache by key |
| clearCache | back to summary |
|---|---|
| public default void clearCache(SharedSessionContractImplementor session) Clear data from the cache | |
| contains | back to summary |
|---|---|
| public boolean contains(Object key) Does the cache contain this key? | |
| evictData | back to summary |
|---|---|
| public void evictData() Clear all data regardless of transaction/locking | |
| evictData | back to summary |
|---|---|
| public void evictData(Object key) Remove the entry regardless of transaction/locking | |
| getFromCache | back to summary |
|---|---|
| public Object getFromCache(Object key, SharedSessionContractImplementor session) Get an item from the cache. | |
| putIntoCache | back to summary |
|---|---|
| public void putIntoCache(Object key, Object value, SharedSessionContractImplementor session) Put an item into the cache | |
| release | back to summary |
|---|---|
| public void release() Release any resources. Called during cache shutdown | |
| removeFromCache | back to summary |
|---|---|
| public default void removeFromCache(Object key, SharedSessionContractImplementor session) Remove an item from the cache by key | |