VjdbcConnectionUidCache instead.@Deprecated public class VjdbcSessionCache extends Object
JaloSession instances using a Long key. Registers a JaloSessionListener to remove
automatically sessions which gets closed.| Constructor and Description |
|---|
VjdbcSessionCache()
Deprecated.
Instantiates a new cache.
|
| Modifier and Type | Method and Description |
|---|---|
JaloSession |
loadAndActivateSession(Long connuid)
Deprecated.
Gets a session from cache using given key and activates it.
|
void |
shutDown()
Deprecated.
Clears the cache and unregisters session listener for automatic session removal.
|
void |
storeAndActivateSession(Long connuid,
JaloSession session)
Deprecated.
Puts given session to cache using given key and activates session.
|
public VjdbcSessionCache()
public JaloSession loadAndActivateSession(Long connuid)
connuid - key to use for retrievalpublic void storeAndActivateSession(Long connuid, JaloSession session)
connuid - key to usesession - session to cachepublic void shutDown()
Copyright © 2017 SAP SE. All Rights Reserved.