Class CacheEntry
java.lang.Object
com.j_spaces.core.AbstractEntryType
com.j_spaces.core.EntryImpl
com.j_spaces.sadapter.cache.CacheEntry
- All Implemented Interfaces:
IGSEntry, Serializable
- Direct Known Subclasses:
EntryAdapter
-
Field Summary
Fields inherited from class EntryImpl
_entryHolderFields inherited from class AbstractEntryType
_typeDesc -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCacheEntry(IEntryHolder entryHolder, ITypeDesc typeDesc) Constructs CacheEntry from IEntryHolder and TypeTableEntry. -
Method Summary
Modifier and TypeMethodDescriptionEntry class Name.Returns a Map.Entry (key-value pair) representation of this entity.voidsetClassName(String className) Set the class name representing the underlying entry.toString()static StringReturns a String representation of an IGSEntry.Methods inherited from class EntryImpl
getCustomQueryDescription, getFieldsValues, getFieldValue, getFieldValue, getHandback, getNotifyType, getTimeToLive, getUID, getVersion, isTransient, setFieldValue, setFieldValueMethods inherited from class AbstractEntryType
getCodebase, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldType, getIndexIndicators, getObject, getPrimaryKeyName, getProperties, getRoutingFieldName, getSuperClassesNames, hasDummyTTE, isBroadcast, isFifo, isIndexedField, isReplicatable
-
Constructor Details
-
CacheEntry
Constructs CacheEntry from IEntryHolder and TypeTableEntry.- Parameters:
entryHolder- underlying entry holdertypeDesc- underlying entry type information
-
CacheEntry
public CacheEntry()Default constructor
-
-
Method Details
-
getClassName
Description copied from class:AbstractEntryTypeEntry class Name.- Specified by:
getClassNamein interfaceIGSEntry- Overrides:
getClassNamein classEntryImpl- Returns:
- Returns the Entry class Name.
-
setClassName
Set the class name representing the underlying entry.- Parameters:
className- class name representing this entry.
-
getEntry
- Overrides:
getEntryin classEntryImpl- Throws:
UnusableEntryException
-
getMapEntry
Description copied from interface:IGSEntryReturns a Map.Entry (key-value pair) representation of this entity. Relevant when interacting with the Space using Map API; otherwise anullis returned.- Specified by:
getMapEntryin interfaceIGSEntry- Overrides:
getMapEntryin classEntryImpl- Returns:
- a Map.Entry representation of this entity;
nullif no representation. - See Also:
-
toString
-
toString
-