public class EntryAdapter extends CacheEntry
| Modifier and Type | Field and Description |
|---|---|
protected IDataConverter<IEntryPacket> |
_converter
Converts the external entry to user defined objects
|
_entryHolder_typeDesc| Constructor and Description |
|---|
EntryAdapter(IDataConverter<IEntryPacket> converter) |
EntryAdapter(IEntryHolder entryHolder,
ITypeDesc typeDesc) |
EntryAdapter(IEntryHolder entryHolder,
ITypeDesc typeDesc,
IDataConverter<IEntryPacket> converter) |
| Modifier and Type | Method and Description |
|---|---|
IDataConverter<IEntryPacket> |
getConverter() |
ITypeDesc |
getTypeDescriptor() |
void |
setConverter(IDataConverter<IEntryPacket> converter) |
SpaceDocument |
toDocument() |
SpaceDocument |
toDocument(String typeName) |
IEntryPacket |
toEntry(Object object)
Converts given object to IGSEntry
|
IEntryPacket |
toEntry(Object key,
Object value)
Convert key value to entry
|
IEntryPacket |
toEntryPacket() |
Object |
toObject() |
getClassName, getEntry, getMapEntry, setClassName, toString, toStringgetFieldsValues, getFieldValue, getFieldValue, getHandback, getNotifyType, getTimeToLive, getUID, getVersion, isTransient, setFieldValue, setFieldValuegetCodebase, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldType, getIndexIndicators, getObject, getPrimaryKeyName, getProperties, getRoutingFieldName, getSuperClassesNames, hasDummyTTE, isFifo, isIndexedField, isReplicatableprotected IDataConverter<IEntryPacket> _converter
public EntryAdapter(IDataConverter<IEntryPacket> converter)
converter - public EntryAdapter(IEntryHolder entryHolder, ITypeDesc typeDesc, IDataConverter<IEntryPacket> converter)
entryHolder - typeDesc - converter - public EntryAdapter(IEntryHolder entryHolder, ITypeDesc typeDesc)
entryHolder - typeDesc - public IDataConverter<IEntryPacket> getConverter()
public void setConverter(IDataConverter<IEntryPacket> converter)
converter - the converter to setpublic Object toObject()
public SpaceDocument toDocument()
SpaceDocument instance representation of this entry.public SpaceDocument toDocument(String typeName)
SpaceDocument instance representation of this entry with the provided type
name.public IEntryPacket toEntryPacket()
public IEntryPacket toEntry(Object object) throws RemoteException, UnusableEntryException, UnknownTypeException
public IEntryPacket toEntry(Object key, Object value) throws RemoteException, UnusableEntryException, UnknownTypeException
RemoteExceptionUnusableEntryExceptionUnknownTypeExceptionpublic ITypeDesc getTypeDescriptor()
Copyright © GigaSpaces.