Package com.gigaspaces.internal.metadata
Class VirtualEntryIntrospector<T extends VirtualEntry>
java.lang.Object
com.gigaspaces.internal.metadata.AbstractTypeIntrospector<T>
com.gigaspaces.internal.metadata.VirtualEntryIntrospector<T>
- All Implemented Interfaces:
ITypeIntrospector<T>,SmartExternalizable,Externalizable,Serializable
- Since:
- 8.0
- Author:
- Niv Ingberg
- See Also:
-
Field Summary
Fields inherited from class com.gigaspaces.internal.metadata.AbstractTypeIntrospector
_documentObjectConverter, _typeDesc -
Constructor Summary
ConstructorsConstructorDescriptionRequired for ExternalizableVirtualEntryIntrospector(ITypeDesc typeDesc, Class<T> documentWrapperClass) -
Method Summary
Modifier and TypeMethodDescriptiongetDynamicProperties(T target) protected ObjectgetDynamicProperty(T target, String name) bytelonggetTimeToLive(T target) getType()Object[]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) 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, getPathType, getPathValue, getPathValue, getRouting, getSerializedValues, getTypeDesc, getUID, getValue, hasConstructorProperties, initialize, instantiateObject, propertyHasNullValue, readExternal, setValue, supportsNestedOperations, toDocumentIfNeeded, toObject, toObject, 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
-
Constructor Details
-
VirtualEntryIntrospector
public VirtualEntryIntrospector()Required for Externalizable -
VirtualEntryIntrospector
-
-
Method Details
-
getType
-
hasUID
-
getUID
-
setUID
-
hasVersionProperty
-
getVersion
-
setVersion
-
hasTransientProperty
-
isTransient
-
setTransient
-
hasTimeToLiveProperty
-
getTimeToLive
-
setTimeToLive
-
setEntryInfo
-
newInstance
- Specified by:
newInstancein classAbstractTypeIntrospector<T extends VirtualEntry>
-
newArray
-
processDocumentObjectInterop
protected Object[] processDocumentObjectInterop(Object[] values, EntryType entryType, boolean cloneOnChange) - Specified by:
processDocumentObjectInteropin classAbstractTypeIntrospector<T extends VirtualEntry>
-
hasDynamicProperties
public boolean hasDynamicProperties() -
getDynamicProperties
-
setDynamicProperties
-
getValue
-
setValue
-
getDynamicProperty
- Specified by:
getDynamicPropertyin classAbstractTypeIntrospector<T extends VirtualEntry>
-
setDynamicProperty
-
unsetDynamicProperty
-
getValues
-
setValues
-
getExternalizableCode
public byte getExternalizableCode() -
readExternal
public void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException - Specified by:
readExternalin interfaceITypeIntrospector<T extends VirtualEntry>- Overrides:
readExternalin classAbstractTypeIntrospector<T extends VirtualEntry>- Throws:
IOExceptionClassNotFoundException
-
writeExternal
Description copied from class:AbstractTypeIntrospectorNOTE: if you change this method, you need to make this class ISwapExternalizable- Specified by:
writeExternalin interfaceITypeIntrospector<T extends VirtualEntry>- Overrides:
writeExternalin classAbstractTypeIntrospector<T extends VirtualEntry>- Throws:
IOException
-