public class AtlassianCacheSessionDataCache extends Object implements SessionDataCache
SessionDataCache implementation which delegates to an Atlassian Cache cache.| Constructor and Description |
|---|
AtlassianCacheSessionDataCache(com.atlassian.cache.Cache<String,SessionData> delegate) |
| Modifier and Type | Method and Description |
|---|---|
SessionData |
get(String key)
Retrieves the SessionData stored under the specified key
|
void |
put(String key,
SessionData sessionData)
Stores the SessionData under the specified key
|
void |
remove(String key)
Removes the SessionData stored under the specified key
|
@Inject public AtlassianCacheSessionDataCache(com.atlassian.cache.Cache<String,SessionData> delegate)
public void put(String key, SessionData sessionData)
SessionDataCacheput in interface SessionDataCachekey - the key under which the SessionData should be storedsessionData - the SessionData to storepublic SessionData get(String key)
SessionDataCacheget in interface SessionDataCachekey - the keypublic void remove(String key)
SessionDataCacheremove in interface SessionDataCachekey - the keyCopyright © 2023 Atlassian. All rights reserved.