Class RemoteCacheRequest<K,V>
java.lang.Object
org.apache.commons.jcs3.auxiliary.remote.value.RemoteCacheRequest<K,V>
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
long
void
setCacheElement
(ICacheElement<K, V> cacheElement) void
setCacheName
(String cacheName) void
void
void
setPattern
(String pattern) void
setRequesterId
(long requesterId) void
setRequestType
(RemoteRequestType requestType) toString()
-
Constructor Details
-
RemoteCacheRequest
public RemoteCacheRequest()
-
-
Method Details
-
setRequestType
- Parameters:
requestType
- the requestType to set
-
getRequestType
- Returns:
- the requestType
-
setCacheName
- Parameters:
cacheName
- the cacheName to set
-
getCacheName
- Returns:
- the cacheName
-
setKey
- Parameters:
key
- the key to set
-
getKey
- Returns:
- the key
-
setPattern
- Parameters:
pattern
- the pattern to set
-
getPattern
- Returns:
- the pattern
-
setCacheElement
- Parameters:
cacheElement
- the cacheElement to set
-
getCacheElement
- Returns:
- the cacheElement
-
setRequesterId
- Parameters:
requesterId
- the requesterId to set
-
getRequesterId
- Returns:
- the requesterId
-
setKeySet
- Parameters:
keySet
- the keySet to set
-
getKeySet
- Returns:
- the keySet
-
toString
-