public class ExtendedIndexHandler<K> extends Object implements IExtendedEntriesIndex<K,IEntryCacheInfo>
| Constructor and Description |
|---|
ExtendedIndexHandler(TypeDataIndex index) |
| Modifier and Type | Method and Description |
|---|---|
IScanListIterator<IEntryCacheInfo> |
establishScan(K startPos,
short relation,
K endPos,
boolean endPosInclusive)
establish a scan according to the relation given and startPos : the start-scan object , null
means scan all values.
|
IScanListIterator<IEntryCacheInfo> |
establishScan(K startPos,
short relation,
K endPos,
boolean endPosInclusive,
boolean ordered)
establish a scan according to the relation given and startPos : the start-scan object , null
means scan all values.
|
IStoredList<IEntryCacheInfo> |
getIndexEntries(K indexValue) |
ConcurrentMap<Object,IStoredList<IEntryCacheInfo>> |
getNonUniqueEntriesStore() |
FastConcurrentSkipListMap<Object,IStoredList<IEntryCacheInfo>> |
getOrderedStore() |
ConcurrentMap<Object,IEntryCacheInfo> |
getUniqueEntriesStore() |
IObjectInfo |
insertEntryIndexedField(IEntryCacheInfo pEntry,
K fieldValue,
TypeData pType,
boolean alreadyCloned)
insert a value for this key- if key already exist insert into the SL of same values
|
void |
onRemove(IEntryCacheInfo eci) |
void |
onUpdate(IEntryCacheInfo eci) |
void |
onUpdateEnd(IEntryCacheInfo eci) |
int |
reapExpired() |
void |
removeEntryIndexedField(IEntryHolder eh,
Object fieldValue,
IEntryCacheInfo pEntry,
IObjectInfo oi)
remove entry indexed field from cache.
|
public ExtendedIndexHandler(TypeDataIndex index)
public FastConcurrentSkipListMap<Object,IStoredList<IEntryCacheInfo>> getOrderedStore()
getOrderedStore in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public ConcurrentMap<Object,IStoredList<IEntryCacheInfo>> getNonUniqueEntriesStore()
getNonUniqueEntriesStore in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public ConcurrentMap<Object,IEntryCacheInfo> getUniqueEntriesStore()
getUniqueEntriesStore in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public IStoredList<IEntryCacheInfo> getIndexEntries(K indexValue)
getIndexEntries in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public IObjectInfo insertEntryIndexedField(IEntryCacheInfo pEntry, K fieldValue, TypeData pType, boolean alreadyCloned)
insertEntryIndexedField in interface IExtendedIndex<K,IEntryCacheInfo>public void removeEntryIndexedField(IEntryHolder eh, Object fieldValue, IEntryCacheInfo pEntry, IObjectInfo oi)
removeEntryIndexedField in interface IExtendedIndex<K,IEntryCacheInfo>public void onUpdate(IEntryCacheInfo eci)
onUpdate in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public void onUpdateEnd(IEntryCacheInfo eci)
onUpdateEnd in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public void onRemove(IEntryCacheInfo eci)
onRemove in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public int reapExpired()
reapExpired in interface IExtendedEntriesIndex<K,IEntryCacheInfo>public IScanListIterator<IEntryCacheInfo> establishScan(K startPos, short relation, K endPos, boolean endPosInclusive)
establishScan in interface IExtendedIndexScanPositioner<K,IEntryCacheInfo>public IScanListIterator<IEntryCacheInfo> establishScan(K startPos, short relation, K endPos, boolean endPosInclusive, boolean ordered)
establishScan in interface IExtendedIndexScanPositioner<K,IEntryCacheInfo>Copyright © GigaSpaces.