public class VirtualEntryIntrospector<T extends VirtualEntry> extends AbstractTypeIntrospector<T>
_documentObjectConverter, _typeDesc
Constructor and Description |
---|
VirtualEntryIntrospector()
Required for Externalizable
|
VirtualEntryIntrospector(ITypeDesc typeDesc,
Class<T> documentWrapperClass) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getDynamicProperties(T target) |
protected Object |
getDynamicProperty(T target,
String name) |
byte |
getExternalizableCode() |
long |
getTimeToLive(T target) |
Class<T> |
getType() |
String |
getUID(T target,
boolean isTemplate,
boolean ignoreIdIfNotExists) |
Object |
getValue(T target,
int index) |
Object[] |
getValues(T target) |
int |
getVersion(T target) |
boolean |
hasDynamicProperties() |
boolean |
hasTimeToLiveProperty(T target) |
boolean |
hasTransientProperty(T target) |
boolean |
hasUID(T target) |
boolean |
hasVersionProperty(T target) |
boolean |
isTransient(T target) |
T[] |
newArray(int length) |
T |
newInstance() |
protected Object[] |
processDocumentObjectInterop(Object[] values,
EntryType entryType,
boolean cloneOnChange) |
void |
readExternal(ObjectInput in,
PlatformLogicalVersion version) |
void |
setDynamicProperties(T target,
Map<String,Object> dynamicProperties) |
void |
setDynamicProperty(T target,
String name,
Object value) |
void |
setEntryInfo(T target,
String uid,
int version,
long timeToLive) |
boolean |
setTimeToLive(T target,
long ttl) |
boolean |
setTransient(T target,
boolean isTransient) |
boolean |
setUID(T target,
String uid) |
void |
setValue(T target,
Object value,
int index) |
void |
setValues(T target,
Object[] values) |
boolean |
setVersion(T target,
int version) |
void |
unsetDynamicProperty(T target,
String name) |
void |
writeExternal(ObjectOutput out,
PlatformLogicalVersion version)
NOTE: if you change this method, you need to make this class ISwapExternalizable
|
fromDocumentIfNeeded, getNestedValue, getPathType, getPathValue, getPathValue, getRouting, getSerializedValues, getTypeDesc, getUID, getValue, hasConstructorProperties, initialize, instantiateObject, propertyHasNullValue, readExternal, setValue, supportsNestedOperations, toDocumentIfNeeded, toObject, toObject, toObject, writeExternal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public VirtualEntryIntrospector()
public boolean hasUID(T target)
public boolean hasVersionProperty(T target)
public int getVersion(T target)
public boolean setVersion(T target, int version)
public boolean hasTransientProperty(T target)
public boolean isTransient(T target)
public boolean setTransient(T target, boolean isTransient)
public boolean hasTimeToLiveProperty(T target)
public long getTimeToLive(T target)
public boolean setTimeToLive(T target, long ttl)
public T newInstance()
newInstance
in class AbstractTypeIntrospector<T extends VirtualEntry>
public T[] newArray(int length)
protected Object[] processDocumentObjectInterop(Object[] values, EntryType entryType, boolean cloneOnChange)
processDocumentObjectInterop
in class AbstractTypeIntrospector<T extends VirtualEntry>
public boolean hasDynamicProperties()
public void setDynamicProperties(T target, Map<String,Object> dynamicProperties)
protected Object getDynamicProperty(T target, String name)
getDynamicProperty
in class AbstractTypeIntrospector<T extends VirtualEntry>
public byte getExternalizableCode()
public void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException
readExternal
in interface ITypeIntrospector<T extends VirtualEntry>
readExternal
in class AbstractTypeIntrospector<T extends VirtualEntry>
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out, PlatformLogicalVersion version) throws IOException
AbstractTypeIntrospector
writeExternal
in interface ITypeIntrospector<T extends VirtualEntry>
writeExternal
in class AbstractTypeIntrospector<T extends VirtualEntry>
IOException
Copyright © GigaSpaces.