com.atlassian.greenhopper.service
Class RequestCacheServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.RequestCacheServiceImpl
- All Implemented Interfaces:
- RequestCacheService
@Service(value="gh-requestCacheService")
public class RequestCacheServiceImpl
- extends java.lang.Object
- implements RequestCacheService
RequestCacheService implementation.
Stores value using webwork's ActionContext
Method Summary |
java.lang.Object |
getValue(java.lang.String cacheId,
java.lang.String key)
Get a value stored in the request cache. |
void |
putValue(java.lang.String cacheId,
java.lang.String key,
java.lang.Object value)
Put a value into the request cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestCacheServiceImpl
public RequestCacheServiceImpl()
getValue
public java.lang.Object getValue(java.lang.String cacheId,
java.lang.String key)
- Description copied from interface:
RequestCacheService
- Get a value stored in the request cache.
- Specified by:
getValue
in interface RequestCacheService
- Returns:
- null if not found
putValue
public void putValue(java.lang.String cacheId,
java.lang.String key,
java.lang.Object value)
- Description copied from interface:
RequestCacheService
- Put a value into the request cache.
- Specified by:
putValue
in interface RequestCacheService
Copyright © 2007-2011 Atlassian. All Rights Reserved.