org.apache.jcs.auxiliary.remote.behavior
Interface IRemoteCacheDispatcher

All Known Implementing Classes:
RemoteHttpCacheDispatcher

public interface IRemoteCacheDispatcher

In the future, this can be used as a generic dispatcher abstraction.

At the time of creation, only the http remote cache uses it. The RMI remote could be converted to use it as well.


Method Summary
<K extends Serializable,V extends Serializable,T>
RemoteCacheResponse<T>
dispatchRequest(RemoteCacheRequest<K,V> remoteCacheRequest)
          All requests will go through this method.
 

Method Detail

dispatchRequest

<K extends Serializable,V extends Serializable,T> RemoteCacheResponse<T> dispatchRequest(RemoteCacheRequest<K,V> remoteCacheRequest)
                                       throws IOException
All requests will go through this method. The dispatcher implementation will send the request remotely.

Parameters:
remoteCacheRequest -
Returns:
RemoteCacheResponse
Throws:
IOException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.