Package com.gigaspaces.internal.metadata
Class ExternalEntryIntrospector<T extends ExternalEntry>
java.lang.Object
com.gigaspaces.internal.metadata.AbstractTypeIntrospector<T>
com.gigaspaces.internal.metadata.ExternalEntryIntrospector<T>
- All Implemented Interfaces:
ITypeIntrospector<T>,SmartExternalizable,Externalizable,Serializable
- Since:
- 7.0
- Author:
- Niv Ingberg
- See Also:
-
Field Summary
FieldsFields inherited from class com.gigaspaces.internal.metadata.AbstractTypeIntrospector
_documentObjectConverter, _typeDesc -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Externalizable.ExternalEntryIntrospector(ITypeDesc typeDesc, Class<T> implClass) -
Method Summary
Modifier and TypeMethodDescriptiongetDynamicProperties(T target) protected ObjectgetDynamicProperty(T target, String name) byteClass<?>getPathType(String path) longgetTimeToLive(T target) getType()static StringObject[]intgetVersion(T target) booleanbooleanhasTimeToLiveProperty(T target) booleanhasTransientProperty(T target) booleanbooleanhasVersionProperty(T target) booleanisTransient(T target) T[]newArray(int length) protected Object[]processDocumentObjectInterop(Object[] values, EntryType entryType, boolean cloneOnChange) voidreadExternal(ObjectInput in, PlatformLogicalVersion version) voidsetDynamicProperties(T target, Map<String, Object> dynamicProperties) voidsetDynamicProperty(T target, String name, Object value) voidsetEntryInfo(T target, String uid, int version, long timeToLive) booleansetTimeToLive(T target, long ttl) booleansetTransient(T target, boolean isTransient) booleanvoidvoidbooleansetVersion(T target, int version) booleantoObject(IEntryPacket packet, StorageTypeDeserialization storageTypeDeserialization) voidunsetDynamicProperty(T target, String name) voidwriteExternal(ObjectOutput out, PlatformLogicalVersion version) NOTE: if you change this method, you need to make this class ISwapExternalizableMethods inherited from class com.gigaspaces.internal.metadata.AbstractTypeIntrospector
fromDocumentIfNeeded, getNestedValue, getPathValue, getPathValue, getRouting, getSerializedValues, getTypeDesc, getUID, getValue, hasConstructorProperties, initialize, instantiateObject, propertyHasNullValue, readExternal, setValue, toDocumentIfNeeded, toObject, writeExternalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
EXTERNALIZABLE_CODE
public static final byte EXTERNALIZABLE_CODE- See Also:
-
-
Constructor Details
-
ExternalEntryIntrospector
public ExternalEntryIntrospector()Default constructor for Externalizable. -
ExternalEntryIntrospector
-
-
Method Details
-
hasUID
-
getUID
-
setUID
-
hasVersionProperty
-
getVersion
-
setVersion
-
hasTransientProperty
-
isTransient
-
setTransient
-
hasTimeToLiveProperty
-
getTimeToLive
-
setTimeToLive
-
setEntryInfo
-
newInstance
- Specified by:
newInstancein classAbstractTypeIntrospector<T extends ExternalEntry>
-
newArray
-
processDocumentObjectInterop
protected Object[] processDocumentObjectInterop(Object[] values, EntryType entryType, boolean cloneOnChange) - Specified by:
processDocumentObjectInteropin classAbstractTypeIntrospector<T extends ExternalEntry>
-
getType
-
hasDynamicProperties
public boolean hasDynamicProperties() -
getDynamicProperties
-
setDynamicProperties
-
getValue
-
setValue
-
getDynamicProperty
- Specified by:
getDynamicPropertyin classAbstractTypeIntrospector<T extends ExternalEntry>
-
setDynamicProperty
-
unsetDynamicProperty
-
getValues
-
setValues
-
toObject
- Specified by:
toObjectin interfaceITypeIntrospector<T extends ExternalEntry>- Overrides:
toObjectin classAbstractTypeIntrospector<T extends ExternalEntry>
-
toObject
- Specified by:
toObjectin interfaceITypeIntrospector<T extends ExternalEntry>- Overrides:
toObjectin classAbstractTypeIntrospector<T extends ExternalEntry>
-
getUid
-
supportsNestedOperations
public boolean supportsNestedOperations()- Specified by:
supportsNestedOperationsin interfaceITypeIntrospector<T extends ExternalEntry>- Overrides:
supportsNestedOperationsin classAbstractTypeIntrospector<T extends ExternalEntry>
-
getPathType
- Specified by:
getPathTypein interfaceITypeIntrospector<T extends ExternalEntry>- Overrides:
getPathTypein classAbstractTypeIntrospector<T extends ExternalEntry>
-
getExternalizableCode
public byte getExternalizableCode() -
readExternal
public void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException - Specified by:
readExternalin interfaceITypeIntrospector<T extends ExternalEntry>- Overrides:
readExternalin classAbstractTypeIntrospector<T extends ExternalEntry>- Throws:
IOExceptionClassNotFoundException
-
writeExternal
NOTE: if you change this method, you need to make this class ISwapExternalizable- Specified by:
writeExternalin interfaceITypeIntrospector<T extends ExternalEntry>- Overrides:
writeExternalin classAbstractTypeIntrospector<T extends ExternalEntry>- Throws:
IOException
-