Package com.j_spaces.map
Class Envelope
java.lang.Object
com.j_spaces.map.Envelope
- All Implemented Interfaces:
SpaceMapEntry,Map.Entry
This class holds
key, value and Attributes that are
associated with the key. key is user-defined object that refers to the
value. keys are assumed to be unique.
For internal use only!-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()getValue()intvoidsetCacheId(String cacheId) voidvoidsetVersion(int version) toString()
-
Constructor Details
-
Envelope
public Envelope() -
Envelope
-
-
Method Details
-
toString
-
getKey
-
setKey
- Specified by:
setKeyin interfaceSpaceMapEntry
-
getValue
-
setValue
-
getCacheId
- Specified by:
getCacheIdin interfaceSpaceMapEntry
-
setCacheId
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceSpaceMapEntry
-
setVersion
public void setVersion(int version) - Specified by:
setVersionin interfaceSpaceMapEntry
-