public class Envelope extends Object implements SpaceMapEntry
key
, value
and Attribute
s that are
associated with the key. key
is user-defined object that refers to the
value
. key
s are assumed to be unique.
For internal use only!Constructor and Description |
---|
Envelope() |
Envelope(Object key,
Object value,
String cacheID) |
Modifier and Type | Method and Description |
---|---|
String |
getCacheId() |
Object |
getKey() |
Object |
getValue() |
int |
getVersion() |
void |
setCacheId(String cacheId) |
void |
setKey(Object key) |
Object |
setValue(Object value) |
void |
setVersion(int version) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
public void setKey(Object key)
setKey
in interface SpaceMapEntry
public String getCacheId()
getCacheId
in interface SpaceMapEntry
public void setCacheId(String cacheId)
public int getVersion()
getVersion
in interface SpaceMapEntry
public void setVersion(int version)
setVersion
in interface SpaceMapEntry
Copyright © GigaSpaces.