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.dir |
This package defines objects of distributed IR layer.
|
org.egothor.duplicity.algorithm |
This package contains top-level classes that implement the duplicity checking algorithm.
|
Modifier and Type | Class and Description |
---|---|
class |
CachedRider
Represents a cache that stores pages of inverted lists for different barrels and terms.
|
class |
NullResolver<K,V>
Simple implementation of the
Resolver that always returns null. |
Modifier and Type | Method and Description |
---|---|
Resolver<K,V> |
Cache.getResolver()
Gets the current resolver associated with this cache.
|
Resolver<K,V> |
AbstractCache.getResolver()
Gets the current resolver associated with this cache.
|
Resolver<K,V> |
Cache.setResolver(Resolver<K,V> resolver)
Sets the resolver associated with this cache.
|
Resolver<K,V> |
AbstractCache.setResolver(Resolver<K,V> resolver)
Sets the resolver associated with this cache.
|
Modifier and Type | Method and Description |
---|---|
Resolver<K,V> |
Cache.setResolver(Resolver<K,V> resolver)
Sets the resolver associated with this cache.
|
Resolver<K,V> |
AbstractCache.setResolver(Resolver<K,V> resolver)
Sets the resolver associated with this cache.
|
Constructor and Description |
---|
ArcCache(Resolver<K,V> resolver)
Constructor for the ArcCache object.
|
ArcCache(Resolver<K,V> resolver,
int capacity)
Constructor for the ArcCache object.
|
Constructor and Description |
---|
FifoCache(Resolver<K,V> resolver)
Constructor for the FifoCache object.
|
FifoCache(Resolver<K,V> resolver,
int capacity)
Constructor for the FifoCache object.
|
Constructor and Description |
---|
LfuCache(Resolver<K,V> resolver)
Constructor for the LfuCache object.
|
LfuCache(Resolver<K,V> resolver,
int capacity)
Constructor for the LfuCache object.
|
Constructor and Description |
---|
LruCache(Resolver<K,V> resolver)
Constructor for the LruCache object.
|
LruCache(Resolver<K,V> resolver,
int capacity)
Constructor for the LruCache object.
|
Constructor and Description |
---|
LruKCache(Resolver<K,V> resolver)
Constructor for the LruKCache object.
|
LruKCache(Resolver<K,V> resolver,
int capacity)
Constructor for the LruKCache object.
|
LruKCache(Resolver<K,V> resolver,
int capacity,
int historyCapacity,
int numberOfIds)
Constructor for the LruKCache object.
|
Constructor and Description |
---|
MultiQueueCache(Resolver<K,V> resolver)
Constructor for the MultiQueueCache object.
|
MultiQueueCache(Resolver<K,V> resolver,
int capacity)
Constructor for the MultiQueueCache object.
|
MultiQueueCache(Resolver<K,V> resolver,
int capacity,
int outCapacity)
Constructor for the MultiQueueCache object.
|
MultiQueueCache(Resolver<K,V> resolver,
int capacity,
int outCapacity,
byte numberOfQueues)
Constructor for the MultiQueueCache object.
|
MultiQueueCache(Resolver<K,V> resolver,
int capacity,
int outCapacity,
byte numberOfQueues,
MultiQueueFunction queueFunction)
Constructor for the MultiQueueCache object.
|
Constructor and Description |
---|
SlruCache(Resolver<K,V> resolver)
Constructor for the SlruCache object.
|
SlruCache(Resolver<K,V> resolver,
int capacity)
Constructor for the SlruCache object.
|
SlruCache(Resolver<K,V> resolver,
int capacity,
int protectedCapacity)
Constructor for the SlruCache object.
|
Constructor and Description |
---|
StaticCache(Resolver<K,V> resolver)
Constructor for the StaticCache object.
|
StaticCache(Resolver<K,V> resolver,
int capacity)
Constructor for the StaticCache object.
|
Modifier and Type | Method and Description |
---|---|
Resolver<K,V> |
StaticDynamicCache.getResolver()
Gets the current resolver associated with this cache.
|
Resolver<K,V> |
StaticDynamicCache.setResolver(Resolver<K,V> resolver)
Sets the resolver associated with this cache.
|
Modifier and Type | Method and Description |
---|---|
Resolver<K,V> |
StaticDynamicCache.setResolver(Resolver<K,V> resolver)
Sets the resolver associated with this cache.
|
Constructor and Description |
---|
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.
|
Constructor and Description |
---|
TwoQueueCache(Resolver<K,V> resolver)
Constructor for the TwoQueueCache object.
|
TwoQueueCache(Resolver<K,V> resolver,
int capacity)
Constructor for the TwoQueueCache object.
|
TwoQueueCache(Resolver<K,V> resolver,
int capacity,
int kIn,
int kOut)
Constructor for the TwoQueueCache object.
|
Modifier and Type | Class and Description |
---|---|
class |
Group
A Group is a group of Barrels which are, in fact, represented as one
Barrel.
|
class |
Tanker
A Tanker is a group of Barrels with the capability of inserting new
Barrels.
|
class |
TankerImpl
This object encapsulates core Tanker structure with some routines which
make the life of a programmer easier.
|
class |
TankerImplSecure
This object encapsulates standard TankerImpl and adds multithread safe
behavior.
|
Modifier and Type | Class and Description |
---|---|
class |
TankerImplDuplicityChecker
This object encapsulates standard TankerImplSecure and adds duplicity checking ability.
|
Copyright © 2016 Egothor. All Rights Reserved.