public abstract class BaseIndexStore extends Object implements IndexStore
| Modifier and Type | Field and Description |
|---|---|
protected static float |
LOAD_FACTOR |
protected ReentrantReadWriteLock |
lock |
protected ReentrantReadWriteLock.ReadLock |
readLock |
protected ReentrantReadWriteLock.WriteLock |
writeLock |
| Constructor and Description |
|---|
BaseIndexStore() |
| Modifier and Type | Method and Description |
|---|---|
protected MultiResultSet |
createMultiResultSet() |
void |
newIndex(Object newValue,
QueryableEntry record) |
protected void |
releaseReadLock() |
void |
removeIndex(Object oldValue,
Data indexKey) |
protected void |
takeReadLock() |
void |
updateIndex(Object oldValue,
Object newValue,
QueryableEntry entry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getRecordMap, getRecords, getRecords, getSubRecords, getSubRecordsBetweenprotected static final float LOAD_FACTOR
protected ReentrantReadWriteLock lock
protected ReentrantReadWriteLock.ReadLock readLock
protected ReentrantReadWriteLock.WriteLock writeLock
public final void newIndex(Object newValue, QueryableEntry record)
newIndex in interface IndexStorepublic final void removeIndex(Object oldValue, Data indexKey)
removeIndex in interface IndexStorepublic final void updateIndex(Object oldValue, Object newValue, QueryableEntry entry)
updateIndex in interface IndexStoreprotected void takeReadLock()
protected void releaseReadLock()
protected MultiResultSet createMultiResultSet()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.