readTransactions = new ConcurrentLinkedQueue<ReadTransaction<K, V>>();
writeLock = new ReentrantLock();
// Initialize the caches
CacheConfiguration cacheConfiguration = new CacheConfiguration();
cacheConfiguration.setName( "pages" );
cacheConfiguration.setEternal( true );
cacheConfiguration.setOverflowToDisk( false );
cacheConfiguration.setCacheLoaderTimeoutMillis( 0 );
cacheConfiguration.setMaxElementsInMemory( cacheSize );
cacheConfiguration.setMemoryStoreEvictionPolicy( "LRU" );
cache = new Cache( cacheConfiguration );
cache.initialise();
}