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, wait
clear, getRecordMap, getRecords, getRecords, getSubRecords, getSubRecordsBetween
protected 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 IndexStore
public final void removeIndex(Object oldValue, Data indexKey)
removeIndex
in interface IndexStore
public final void updateIndex(Object oldValue, Object newValue, QueryableEntry entry)
updateIndex
in interface IndexStore
protected void takeReadLock()
protected void releaseReadLock()
protected MultiResultSet createMultiResultSet()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.