public class RemoteCacheRequest
extends java.lang.Object
implements java.io.Serializable
Rather than creating sub object types, I created on object thsat has values for all types of requests.
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
RemoteCacheRequest() |
Modifier and Type | Method and Description |
---|---|
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() |
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
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
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.