public interface ITypeIntrospector<T> extends Externalizable
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getDynamicProperties(T target) |
byte |
getExternalizableCode() |
Class<?> |
getPathType(String path) |
Object |
getPathValue(IEntryPacket entryPacket,
String path) |
Object |
getRouting(T target) |
Object[] |
getSerializedValues(T target) |
long |
getTimeToLive(T target) |
Class<T> |
getType() |
ITypeDesc |
getTypeDesc() |
String |
getUID(T target) |
String |
getUID(T target,
boolean isTemplate,
boolean ignoreAutoGenerateUid) |
Object |
getValue(T target,
int index) |
Object |
getValue(T target,
String name) |
Object[] |
getValues(T target) |
int |
getVersion(T target) |
boolean |
hasConstructorProperties() |
boolean |
hasDynamicProperties() |
boolean |
hasTimeToLiveProperty(T target) |
boolean |
hasTransientProperty(T target) |
boolean |
hasUID(T target) |
boolean |
hasVersionProperty(T target) |
void |
initialize(ITypeDesc typeDesc) |
boolean |
isTransient(T target) |
boolean |
propertyHasNullValue(int position) |
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 ttl) |
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 |
setValue(T target,
String name,
Object value) |
void |
setValues(T target,
Object[] values) |
boolean |
setVersion(T target,
int version) |
boolean |
supportsNestedOperations() |
T |
toObject(IEntryPacket packet) |
T |
toObject(IEntryPacket packet,
StorageTypeDeserialization storageTypeDeserialization) |
T |
toObject(IGSEntry entry,
ITypeDesc typeDesc) |
void |
unsetDynamicProperty(T target,
String name) |
void |
writeExternal(ObjectOutput out,
PlatformLogicalVersion version) |
readExternal, writeExternal
byte getExternalizableCode()
void writeExternal(ObjectOutput out, PlatformLogicalVersion version) throws IOException
IOException
void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
void initialize(ITypeDesc typeDesc)
ITypeDesc getTypeDesc()
boolean hasUID(T target)
boolean hasVersionProperty(T target)
int getVersion(T target)
boolean setVersion(T target, int version)
boolean hasTimeToLiveProperty(T target)
long getTimeToLive(T target)
boolean setTimeToLive(T target, long ttl)
boolean hasTransientProperty(T target)
boolean isTransient(T target)
boolean setTransient(T target, boolean isTransient)
boolean hasDynamicProperties()
T toObject(IEntryPacket packet)
T toObject(IEntryPacket packet, StorageTypeDeserialization storageTypeDeserialization)
boolean supportsNestedOperations()
Object getPathValue(IEntryPacket entryPacket, String path)
boolean propertyHasNullValue(int position)
boolean hasConstructorProperties()
Copyright © GigaSpaces.