org.apache.jcs.auxiliary.lateral
Class LateralElementDescriptor

java.lang.Object
  extended byorg.apache.jcs.auxiliary.lateral.LateralElementDescriptor
All Implemented Interfaces:
java.io.Serializable

public class LateralElementDescriptor
extends java.lang.Object
implements java.io.Serializable

This class wraps command to other laterals.

See Also:
Serialized Form

Field Summary
 ICacheElement ce
          The Cache Element that we are distributing.
 int command
          Description of the Field
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPDATE

public static final int UPDATE
The int for updates

See Also:
Constant Field Values

REMOVE

public static final int REMOVE
The int for removes

See Also:
Constant Field Values

REMOVEALL

public static final int REMOVEALL
The int instructing us to remove all

See Also:
Constant Field Values

DISPOSE

public static final int DISPOSE
The int for disposing the cache.

See Also:
Constant Field Values

GET

public static final int GET
Command to return an object.

See Also:
Constant Field Values

ce

public ICacheElement ce
The Cache Element that we are distributing.


requesterId

public long requesterId
The id of the the source of the request. This is use to prevent infinite loops.


command

public int command
Description of the Field


valHashCode

public int valHashCode
the hashcode value for this element.

Constructor Detail

LateralElementDescriptor

public LateralElementDescriptor()
Constructor for the LateralElementDescriptor object


LateralElementDescriptor

public LateralElementDescriptor(ICacheElement ce)
Constructor for the LateralElementDescriptor object

Parameters:
ce -


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.