|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.lateral.LateralElementDescriptor
public class LateralElementDescriptor
This class wraps command to other laterals. It is essentially a JCS-TCP-Lateral packet. The headers specify the action the receiver should take.
Field Summary | |
---|---|
ICacheElement |
ce
The Cache Element that we are distributing. |
int |
command
The operation has been requested by the client. |
static int |
DISPOSE
The int for disposing the cache. |
static int |
GET
Command to return an object. |
static int |
REMOVE
The int for removes |
static int |
REMOVEALL
The int instructing us to remove all |
long |
requesterId
The id of the the source of the request. |
static int |
UPDATE
The int for updates |
int |
valHashCode
The hashcode value for this element. |
Constructor Summary | |
---|---|
LateralElementDescriptor()
Constructor for the LateralElementDescriptor object |
|
LateralElementDescriptor(ICacheElement ce)
Constructor for the LateralElementDescriptor object |
Method Summary | |
---|---|
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 int UPDATE
public static final int REMOVE
public static final int REMOVEALL
public static final int DISPOSE
public static final int GET
public ICacheElement ce
public long requesterId
public int command
public int valHashCode
Constructor Detail |
---|
public LateralElementDescriptor()
public LateralElementDescriptor(ICacheElement ce)
ce
- ICacheElement payloadMethod Detail |
---|
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 |