public class RemoteCacheServiceAdaptor<K extends Serializable,V extends Serializable> extends Object
This is essentially an adaptor on top of the service.
Modifier | Constructor and Description |
---|---|
protected |
RemoteCacheServiceAdaptor()
This is for testing without the factory.
|
|
RemoteCacheServiceAdaptor(ICompositeCacheManager cacheManager)
Create a process with a cache manager.
|
Modifier and Type | Method and Description |
---|---|
ICacheServiceNonLocal<K,V> |
getRemoteCacheService() |
<T> RemoteCacheResponse<T> |
processRequest(RemoteCacheRequest<K,V> request)
Processes the request.
|
void |
setRemoteCacheService(ICacheServiceNonLocal<K,V> remoteHttpCacheService) |
protected RemoteCacheServiceAdaptor()
public RemoteCacheServiceAdaptor(ICompositeCacheManager cacheManager)
cacheManager
- 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()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.