Class LateralElementDescriptor<K,V> 
java.lang.Object
org.apache.commons.jcs3.auxiliary.lateral.LateralElementDescriptor<K,V> 
- All Implemented Interfaces:
- Serializable
This class wraps command to other laterals. It is essentially a
 JCS-TCP-Lateral packet. The headers specify the action the receiver should
 take.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe Cache Element that we are distributing.The operation has been requested by the client.longThe id of the source of the request.intThe hash code value for this element.
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated.Constructor for the LateralElementDescriptor objectLateralElementDescriptor(ICacheElement<K, V> ce, LateralCommand command) Constructor for the LateralElementDescriptor objectLateralElementDescriptor(ICacheElement<K, V> ce, LateralCommand command, long requesterId) Constructor for the LateralElementDescriptor object
- 
Method SummaryModifier and TypeMethodDescriptionReturn operation requested by the clientReturn payloadlongReturn id of the source of the requestinttoString()
- 
Field Details- 
ceThe Cache Element that we are distributing.
- 
requesterIdThe id of the source of the request. This is used to prevent infinite loops.
- 
commandThe operation has been requested by the client.
- 
valHashCodeThe hash code value for this element.
 
- 
- 
Constructor Details- 
LateralElementDescriptorDeprecated.Constructor for the LateralElementDescriptor object
- 
LateralElementDescriptorConstructor for the LateralElementDescriptor object- Parameters:
- ce- ICacheElement<K, V> payload
 
- 
LateralElementDescriptorConstructor for the LateralElementDescriptor object- Parameters:
- ce- ICacheElement<K, V> payload
- command- operation requested by the client
- Since:
- 3.1
 
- 
LateralElementDescriptorConstructor for the LateralElementDescriptor object- Parameters:
- ce- ICacheElement<K, V> payload
- command- operation requested by the client
- requesterId- id of the source of the request
- Since:
- 3.1
 
 
- 
- 
Method Details- 
getPayloadReturn payload- Returns:
- the ce
- Since:
- 3.1
 
- 
getRequesterIdReturn id of the source of the request- Returns:
- the requesterId
- Since:
- 3.1
 
- 
getCommandReturn operation requested by the client- Returns:
- the command
- Since:
- 3.1
 
- 
getValHashCode- Returns:
- the valHashCode
- Since:
- 3.1
 
- 
toString
 
-