com.hazelcast.query.impl
Class BaseIndexStore

java.lang.Object
  extended by com.hazelcast.query.impl.BaseIndexStore
All Implemented Interfaces:
IndexStore
Direct Known Subclasses:
SortedIndexStore, UnsortedIndexStore

public abstract class BaseIndexStore
extends Object
implements IndexStore

Base class for concrete index store implementations


Field Summary
protected static float LOAD_FACTOR
           
protected  ReentrantReadWriteLock lock
           
protected  ReentrantReadWriteLock.ReadLock readLock
           
protected  ReentrantReadWriteLock.WriteLock writeLock
           
 
Constructor Summary
BaseIndexStore()
           
 
Method Summary
protected  void releaseReadLock()
           
protected  void releaseWriteLock()
           
protected  void takeReadLock()
           
protected  void takeWriteLock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.query.impl.IndexStore
clear, getRecordMap, getRecords, getRecords, getSubRecords, getSubRecordsBetween, newIndex, removeIndex, updateIndex
 

Field Detail

LOAD_FACTOR

protected static final float LOAD_FACTOR
See Also:
Constant Field Values

lock

protected ReentrantReadWriteLock lock

readLock

protected ReentrantReadWriteLock.ReadLock readLock

writeLock

protected ReentrantReadWriteLock.WriteLock writeLock
Constructor Detail

BaseIndexStore

public BaseIndexStore()
Method Detail

takeWriteLock

protected void takeWriteLock()

releaseWriteLock

protected void releaseWriteLock()

takeReadLock

protected void takeReadLock()

releaseReadLock

protected void releaseReadLock()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.