|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.remote.value.RemoteCacheRequest
public class RemoteCacheRequest
The basic request wrapper. The different types of requests are differentiated by their types.
Rather than creating sub object types, I created on object thsat has values for all types of requests.
Field Summary | |
---|---|
static byte |
REQUEST_TYPE_ALIVE_CHECK
Alive check request type. |
static byte |
REQUEST_TYPE_DISPOSE
Remove All request type. |
static byte |
REQUEST_TYPE_GET
Get request type. |
static byte |
REQUEST_TYPE_GET_GROUP_KEYS
Remove All request type. |
static byte |
REQUEST_TYPE_GET_MATCHING
Get Matching request type. |
static byte |
REQUEST_TYPE_GET_MULTIPLE
Get Multiple request type. |
static byte |
REQUEST_TYPE_REMOVE
Remove request type. |
static byte |
REQUEST_TYPE_REMOVE_ALL
Remove All request type. |
static byte |
REQUEST_TYPE_UPDATE
Update request type. |
Constructor Summary | |
---|---|
RemoteCacheRequest()
|
Method Summary | |
---|---|
ICacheElement |
getCacheElement()
|
String |
getCacheName()
|
Serializable |
getKey()
|
Set |
getKeySet()
|
String |
getPattern()
|
long |
getRequesterId()
|
byte |
getRequestType()
|
void |
setCacheElement(ICacheElement cacheElement)
|
void |
setCacheName(String cacheName)
|
void |
setKey(Serializable key)
|
void |
setKeySet(Set keySet)
|
void |
setPattern(String pattern)
|
void |
setRequesterId(long requesterId)
|
void |
setRequestType(byte requestType)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte REQUEST_TYPE_ALIVE_CHECK
public static final byte REQUEST_TYPE_GET
public static final byte REQUEST_TYPE_GET_MULTIPLE
public static final byte REQUEST_TYPE_GET_MATCHING
public static final byte REQUEST_TYPE_UPDATE
public static final byte REQUEST_TYPE_REMOVE
public static final byte REQUEST_TYPE_REMOVE_ALL
public static final byte REQUEST_TYPE_GET_GROUP_KEYS
public static final byte REQUEST_TYPE_DISPOSE
Constructor Detail |
---|
public RemoteCacheRequest()
Method Detail |
---|
public void setRequestType(byte requestType)
requestType
- the requestType to setpublic byte getRequestType()
public void setCacheName(String cacheName)
cacheName
- the cacheName to setpublic String getCacheName()
public void setKey(Serializable key)
key
- the key to setpublic Serializable getKey()
public void setPattern(String pattern)
pattern
- the pattern to setpublic String getPattern()
public void setCacheElement(ICacheElement cacheElement)
cacheElement
- the cacheElement to setpublic ICacheElement getCacheElement()
public void setRequesterId(long requesterId)
requesterId
- the requesterId to setpublic long getRequesterId()
public void setKeySet(Set keySet)
keySet
- the keySet to setpublic Set getKeySet()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |