public class TemplateEntryData extends Object implements IEntryData
Constructor and Description |
---|
TemplateEntryData() |
TemplateEntryData(ITypeDesc typeDesc,
ITransportPacket packet,
long expirationTime,
boolean fromReplication) |
Modifier and Type | Method and Description |
---|---|
List<IQueryIndexScanner> |
getCustomIndexes() |
ICustomQuery |
getCustomQuery() |
Map<String,Object> |
getDynamicProperties() |
EntryDataType |
getEntryDataType() |
EntryTypeDesc |
getEntryTypeDesc() |
long |
getExpirationTime()
Gets the entry expiration time.
|
short[] |
getExtendedMatchCodes() |
Object[] |
getFixedPropertiesValues() |
Object |
getFixedPropertyValue(int index)
Gets the specified fixed property's value.
|
Object |
getPropertyValue(String name)
Gets the specified property's value.
|
boolean |
getRangeInclusion(int index) |
Object |
getRangeValue(int index) |
int |
getVersion()
Gets the entry version.
|
boolean |
isAssignableFrom(IServerTypeDesc serverTypeDesc) |
boolean |
isExpired() |
boolean |
isExpired(long limit) |
boolean |
isIdQuery() |
boolean |
match(Context cacheContext,
CacheManager cacheManager,
ServerEntry entry,
int skipAlreadyMatchedFixedPropertyIndex,
String skipAlreadyMatchedIndexPath,
RegexCache regexCache) |
void |
setCustomQuery(ICustomQuery customQuery) |
void |
setDynamicProperties(Map<String,Object> dynamicProperties) |
void |
setExpirationTime(long expirationTime) |
void |
setFixedPropertyValue(int index,
Object value) |
void |
setFixedPropertyValues(Object[] values) |
void |
setVersion(int version) |
SQLQuery<?> |
toSQLQuery(ITypeDesc typeDesc) |
void |
updateData(IEntryData entryData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNumOfFixedProperties, getPathValue, getSpaceTypeDescriptor, getTimeToLive, isDummyLease, isHybrid, isView
public TemplateEntryData(ITypeDesc typeDesc, ITransportPacket packet, long expirationTime, boolean fromReplication)
public TemplateEntryData()
public boolean isExpired()
public boolean isExpired(long limit)
public EntryDataType getEntryDataType()
getEntryDataType
in interface IEntryData
public Map<String,Object> getDynamicProperties()
getDynamicProperties
in interface IEntryData
public int getVersion()
ServerEntry
getVersion
in interface ServerEntry
public void setVersion(int version)
setVersion
in interface IEntryData
public long getExpirationTime()
ServerEntry
getExpirationTime
in interface ServerEntry
public void setExpirationTime(long expirationTime)
public Object getFixedPropertyValue(int index)
ServerEntry
getFixedPropertyValue
in interface ServerEntry
index
- Position of requested property.public void setFixedPropertyValue(int index, Object value)
setFixedPropertyValue
in interface IEntryData
public void setFixedPropertyValues(Object[] values)
setFixedPropertyValues
in interface IEntryData
public Object[] getFixedPropertiesValues()
getFixedPropertiesValues
in interface IEntryData
public void updateData(IEntryData entryData)
public Object getPropertyValue(String name)
ServerEntry
getPropertyValue
in interface IEntryData
getPropertyValue
in interface ServerEntry
name
- Name of requested property.public EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc
in interface IEntryData
public void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties
in interface IEntryData
public ICustomQuery getCustomQuery()
public void setCustomQuery(ICustomQuery customQuery)
public List<IQueryIndexScanner> getCustomIndexes()
public Object getRangeValue(int index)
public boolean getRangeInclusion(int index)
public boolean match(Context cacheContext, CacheManager cacheManager, ServerEntry entry, int skipAlreadyMatchedFixedPropertyIndex, String skipAlreadyMatchedIndexPath, RegexCache regexCache)
public short[] getExtendedMatchCodes()
public boolean isAssignableFrom(IServerTypeDesc serverTypeDesc)
public boolean isIdQuery()
Copyright © GigaSpaces.