Package | Description |
---|---|
org.egothor.cache |
Provides classes that help implementing a cache for the egothor project.
|
org.egothor.cache.arc |
Provides classes that help implementing a cache using ARC algorithm as an eviction policy.
|
org.egothor.cache.fifo |
Provides classes that help implementing a cache using FIFO algorithm as an eviction policy.
|
org.egothor.cache.lfu |
Provides classes that help implementing a cache using LFU algorithm as an eviction policy.
|
org.egothor.cache.lru |
Provides classes that help implementing a cache using LRU algorithm as an eviction policy.
|
org.egothor.cache.lruk |
Provides classes that help implementing a cache using LRU-K algorithm as an eviction policy.
|
org.egothor.cache.multiQueue |
Provides classes that help implementing a cache using MQ algorithm as an eviction policy.
|
org.egothor.cache.slru |
Provides classes that help implementing a cache using SLRU algorithm as an eviction policy.
|
org.egothor.cache.stat |
Provides classes that help implementing a static cache.
|
org.egothor.cache.staticDynamic |
Provides classes that help implementing a static-dynamic cache.
|
org.egothor.cache.twoQueue |
Provides classes that help implementing a cache using 2Q algorithm as an eviction policy.
|
org.egothor.core.query |
This package contains objects that represent a structure of a
query in our inner and binary form, readers of a barrel and a result queue.
|
org.egothor.dir |
This package defines objects of distributed IR layer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCache<K,V>
An abstract implementation of
Cache that provides some common methods for cache classes. |
Modifier and Type | Method and Description |
---|---|
Cache<CachedQuery,CachedResult> |
CachedGroup.getCache()
Gets the actual cache used for storing query results.
|
Cache<CachedTerm,CachedIListPage> |
CachedRider.getCache()
Gets the actual cache used for storing inverted list pages.
|
Constructor and Description |
---|
CachedGroup(Cache<CachedQuery,CachedResult> cache)
Constructor for the CachedGroup object.
|
CachedGroup(Cache<CachedQuery,CachedResult> cache,
boolean cacheMetadata)
Constructor for the CachedGroup object.
|
CachedGroup(Cache<CachedQuery,CachedResult> cache,
int pageSize)
Constructor for the CachedGroup object.
|
CachedGroup(Cache<CachedQuery,CachedResult> cache,
int pageSize,
boolean cacheMetadata)
Constructor for the CachedGroup object.
|
CachedRider(Cache<CachedTerm,CachedIListPage> cache)
Constructor for the CachedRider object.
|
CachedRider(Cache<CachedTerm,CachedIListPage> cache,
int pageSize)
Constructor for the CachedRider object.
|
Modifier and Type | Class and Description |
---|---|
class |
ArcCache<K,V>
Implementation of
Cache that uses the ARC algorithm as an eviction policy. |
Modifier and Type | Class and Description |
---|---|
class |
FifoCache<K,V>
Implementation of
Cache that uses a FIFO list that removes the oldest (first) entry as an eviction policy. |
Modifier and Type | Class and Description |
---|---|
class |
LfuCache<K,V>
Implementation of
Cache that uses the LFU algorithm as an eviction policy. |
Modifier and Type | Class and Description |
---|---|
class |
LruCache<K,V>
Implementation of
Cache that uses a LRU list that removes the least recently used entry as an eviction policy. |
Modifier and Type | Class and Description |
---|---|
class |
LruKCache<K,V>
Implementation of
Cache that uses the LRU-K algorithm as an eviction policy. |
Modifier and Type | Class and Description |
---|---|
class |
MultiQueueCache<K,V>
Implementation of
Cache that uses the MQ algorithm as an eviction policy. |
Modifier and Type | Class and Description |
---|---|
class |
SlruCache<K,V>
Implementation of
Cache that uses the SLRU algorithm as an eviction policy. |
Modifier and Type | Class and Description |
---|---|
class |
StaticCache<K,V>
Implementation of
Cache that does not allow adding any new items when it is full. |
Modifier and Type | Class and Description |
---|---|
class |
StaticDynamicCache<K,V>
Implementation of
Cache that uses a static and a dynamic cache. |
Constructor and Description |
---|
StaticDynamicCache(Cache<K,V> dynamicCache)
Constructor for the StaticDynamicCache object.
|
StaticDynamicCache(Cache<K,V> dynamicCache,
int staticCapacity)
Constructor for the StaticDynamicCache object.
|
StaticDynamicCache(Resolver<K,V> resolver,
Cache<K,V> dynamicCache)
Constructor for the StaticDynamicCache object.
|
StaticDynamicCache(Resolver<K,V> resolver,
Cache<K,V> dynamicCache,
int staticCapacity)
Constructor for the StaticDynamicCache object.
|
Modifier and Type | Class and Description |
---|---|
class |
TwoQueueCache<K,V>
Implementation of
Cache that uses the 2Q algorithm as an eviction policy. |
Modifier and Type | Method and Description |
---|---|
static void |
Rider.initializeCache(Cache<CachedTerm,CachedIListPage> cache,
int pageSize)
Initializes the cache to be used for caching inverted lists.
|
Modifier and Type | Method and Description |
---|---|
void |
Group.initializeCache(Cache<CachedQuery,CachedResult> cache)
Initializes a query result cache with the specified options.
|
void |
Group.initializeCache(Cache<CachedQuery,CachedResult> cache,
boolean cacheMetadata)
Initializes a query result cache with the specified options.
|
void |
Group.initializeCache(Cache<CachedQuery,CachedResult> cache,
int pageSize)
Initializes a query result cache with the specified options.
|
void |
Group.initializeCache(Cache<CachedQuery,CachedResult> cache,
int pageSize,
boolean cacheMetadata)
Initializes a query result cache with the specified options.
|
Copyright © 2016 Egothor. All Rights Reserved.