org.apache.jcs.auxiliary.remote.value
Class RemoteCacheRequest<K extends Serializable,V extends Serializable>
java.lang.Object
org.apache.jcs.auxiliary.remote.value.RemoteCacheRequest<K,V>
- All Implemented Interfaces:
- Serializable
public class RemoteCacheRequest<K extends Serializable,V extends Serializable>
- extends Object
- implements Serializable
The basic request wrapper. The different types of requests are differentiated by their types.
Rather than creating sub object types, I created on object that has values for all types of
requests.
- See Also:
- Serialized Form
RemoteCacheRequest
public RemoteCacheRequest()
setRequestType
public void setRequestType(RemoteRequestType requestType)
- Parameters:
requestType - the requestType to set
getRequestType
public RemoteRequestType getRequestType()
- Returns:
- the requestType
setCacheName
public void setCacheName(String cacheName)
- Parameters:
cacheName - the cacheName to set
getCacheName
public String getCacheName()
- Returns:
- the cacheName
setKey
public void setKey(K key)
- Parameters:
key - the key to set
getKey
public K getKey()
- Returns:
- the key
setPattern
public void setPattern(String pattern)
- Parameters:
pattern - the pattern to set
getPattern
public String getPattern()
- Returns:
- the pattern
setCacheElement
public void setCacheElement(ICacheElement<K,V> cacheElement)
- Parameters:
cacheElement - the cacheElement to set
getCacheElement
public ICacheElement<K,V> getCacheElement()
- Returns:
- the cacheElement
setRequesterId
public void setRequesterId(long requesterId)
- Parameters:
requesterId - the requesterId to set
getRequesterId
public long getRequesterId()
- Returns:
- the requesterId
setKeySet
public void setKeySet(Set<K> keySet)
- Parameters:
keySet - the keySet to set
getKeySet
public Set<K> getKeySet()
- Returns:
- the keySet
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- string
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.