public class LateralElementDescriptor<K,V> extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
ICacheElement<K,V> |
ce
The Cache Element that we are distributing.
|
LateralCommand |
command
The operation has been requested by the client.
|
long |
requesterId
The id of the the source of the request.
|
int |
valHashCode
The hashcode value for this element.
|
| Constructor and Description |
|---|
LateralElementDescriptor()
Deprecated.
|
LateralElementDescriptor(ICacheElement<K,V> ce)
Constructor for the LateralElementDescriptor object
|
LateralElementDescriptor(ICacheElement<K,V> ce,
LateralCommand command)
Constructor for the LateralElementDescriptor object
|
LateralElementDescriptor(ICacheElement<K,V> ce,
LateralCommand command,
long requesterId)
Constructor for the LateralElementDescriptor object
|
| Modifier and Type | Method and Description |
|---|---|
LateralCommand |
getCommand()
Return operation requested by the client
|
ICacheElement<K,V> |
getPayload()
Return payload
|
long |
getRequesterId()
Return id of the the source of the request
|
int |
getValHashCode() |
String |
toString() |
public ICacheElement<K,V> ce
public long requesterId
public LateralCommand command
public int valHashCode
@Deprecated public LateralElementDescriptor()
public LateralElementDescriptor(ICacheElement<K,V> ce)
ce - ICacheElement<K, V> payloadpublic LateralElementDescriptor(ICacheElement<K,V> ce, LateralCommand command)
ce - ICacheElement<K, V> payloadcommand - operation requested by the clientpublic LateralElementDescriptor(ICacheElement<K,V> ce, LateralCommand command, long requesterId)
ce - ICacheElement<K, V> payloadcommand - operation requested by the clientrequesterId - id of the the source of the requestpublic ICacheElement<K,V> getPayload()
public long getRequesterId()
public LateralCommand getCommand()
public int getValHashCode()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.