|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.remote.http.server.RemoteCacheServiceAdaptor<K,V>
public class RemoteCacheServiceAdaptor<K extends Serializable,V extends Serializable>
The Servlet deserializes the request object. The request object is passed to the processor. The processor then calls the service which does the work of talking to the cache.
This is essentially an adaptor on top of the service.
| Constructor Summary | |
|---|---|
protected |
RemoteCacheServiceAdaptor()
This is for testing without the factory. |
|
RemoteCacheServiceAdaptor(CompositeCacheManager cacheManager)
Create a process with a cache manager. |
| Method Summary | ||
|---|---|---|
ICacheServiceNonLocal<K,V> |
getRemoteCacheService()
|
|
|
processRequest(RemoteCacheRequest<K,V> request)
Processes the request. |
|
void |
setRemoteCacheService(ICacheServiceNonLocal<K,V> remoteHttpCacheService)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RemoteCacheServiceAdaptor()
public RemoteCacheServiceAdaptor(CompositeCacheManager cacheManager)
cacheManager - | Method Detail |
|---|
public <T> RemoteCacheResponse<T> processRequest(RemoteCacheRequest<K,V> request)
request -
public void setRemoteCacheService(ICacheServiceNonLocal<K,V> remoteHttpCacheService)
remoteHttpCacheService - the remoteHttpCacheService to setpublic ICacheServiceNonLocal<K,V> getRemoteCacheService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||