Class LateralElementDescriptor<K,V>

java.lang.Object
org.apache.commons.jcs3.auxiliary.lateral.LateralElementDescriptor<K,V>
All Implemented Interfaces:
Serializable

public class LateralElementDescriptor<K,V> extends Object implements 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 Details

    • ce

      public ICacheElement<K,V> ce
      The Cache Element that we are distributing.
    • requesterId

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

      The operation has been requested by the client.
    • valHashCode

      public int valHashCode
      The hash code value for this element.
  • Constructor Details

  • Method Details

    • getPayload

      Return payload
      Returns:
      the ce
      Since:
      3.1
    • getRequesterId

      public long getRequesterId()
      Return id of the source of the request
      Returns:
      the requesterId
      Since:
      3.1
    • getCommand

      Return operation requested by the client
      Returns:
      the command
      Since:
      3.1
    • getValHashCode

      public int getValHashCode()
      Returns:
      the valHashCode
      Since:
      3.1
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      String, all the important values that can be configured