|
||||||||||
| 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()
|
java.lang.String |
getCacheName()
|
java.io.Serializable |
getKey()
|
java.util.Set |
getKeySet()
|
java.lang.String |
getPattern()
|
long |
getRequesterId()
|
byte |
getRequestType()
|
void |
setCacheElement(ICacheElement cacheElement)
|
void |
setCacheName(java.lang.String cacheName)
|
void |
setKey(java.io.Serializable key)
|
void |
setKeySet(java.util.Set keySet)
|
void |
setPattern(java.lang.String pattern)
|
void |
setRequesterId(long requesterId)
|
void |
setRequestType(byte requestType)
|
java.lang.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(java.lang.String cacheName)
cacheName - the cacheName to setpublic java.lang.String getCacheName()
public void setKey(java.io.Serializable key)
key - the key to setpublic java.io.Serializable getKey()
public void setPattern(java.lang.String pattern)
pattern - the pattern to setpublic java.lang.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(java.util.Set keySet)
keySet - the keySet to setpublic java.util.Set getKeySet()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||