Skip navigation links
A C D E F G H I K L M N O P R S T U V W X Y Z 

A

AbstractFilenameFileValueManager<V> - Class in dk.heick.caching.persistences.file
A subclass AbstractFileValueManager, where we determines that the Key is a String and its file.getName().
AbstractFilenameFileValueManager(CachingDirectory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
Constructor
AbstractFileValueManager<K,V> - Class in dk.heick.caching.persistences.file
ValueWrapper to stored values in a file.
AbstractFileValueManager(CachingDirectory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.AbstractFileValueManager
Constructor - see class description.
AbstractIndexedFileValueManager<K extends Serializable,V> - Class in dk.heick.caching.persistences.file
A persisted file valuemanager which holds the Key to File relation stored in a file in the Caching Directory.
This file is named "persistencefilecache.ser" and is always in the root of the Caching Directory, and is owned by the ValueManager.
This ValueManager works that all keys get a random UUID string which is the filename the value is stored under.
This "UUID string" to "key" relation is stored in a index hashtable which is serialized to a file "persistencefilecache.ser" whenever X changes has been performed.
This X is set by "indexSaveInterval", set a 'good' value to minimized IO, but the higher the value, the higher the number of lost keys when a reboot is performed.
After "restore" and "cleanup" the "index" file is always persisted afterwards.
AbstractIndexedFileValueManager(CachingDirectory, PersistencesRestoreMethod, int) - Constructor for class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
Constructor.
AbstractKeyedFileValueManager<K,V extends Keyed<K>> - Class in dk.heick.caching.persistences.file
A persisted file valuemanager which holds the Key to Filein the value it self.
This ValueManager works that all keys is stored in the file and the filename gets a random UUID.
This makes it easy just to persist a Object type, because the object it selfs contains the Key, but reload/restore is expensive.
AbstractKeyedFileValueManager(CachingDirectory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
Constructor.
AbstractPersistenceValueManager<K,V> - Class in dk.heick.caching.persistences
The ValueManager ALL valuemanagers who persists their values should extend from.
AbstractPersistenceValueManager(PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.AbstractPersistenceValueManager
Constructor
AbstractValueWrapper<K,V> - Class in dk.heick.caching
Wrapper class for a Value V.
AbstractValueWrapper(K, V) - Constructor for class dk.heick.caching.AbstractValueWrapper
Forced constructor,
add(TimeSpan) - Method in class dk.heick.caching.utils.TimeSpan
Adds a TimeSpan value to the current TimeSpan in a new TimeSpan instance.
add(TimeSpan, int) - Method in class dk.heick.caching.utils.TimeSpan
Adds a TimeSpan value, which is multiplied with a factor, to the current TimeSpan in a new TimeSpan instance.
add(long) - Method in class dk.heick.caching.utils.TimeSpan
Adds a milliseconds value to the current TimeSpan in a new TimeSpan instance.

C

CachedGroupJPAEntity<K extends Serializable,V extends Serializable> - Interface in dk.heick.caching.persistences.jpa.grouped
The interface your Entity class has to implement to have grouped JPA cache table definition.
CachedGroupJPAEntityRepository<K extends Serializable,V extends Serializable> - Interface in dk.heick.caching.persistences.jpa.grouped
The repository instance used by DefaultGroupJPAEntityValueManager.
CachedGroupJPAID<K extends Serializable> - Interface in dk.heick.caching.persistences.jpa.grouped
The "Embeddable" cached group id for CachedGroupJPAEntity<K,V>.
CachedJPAEntity<K extends Serializable,V extends Serializable> - Interface in dk.heick.caching.persistences.jpa.single
The interface your Entity class has to implement to have JPA cache table definition.
Must have a no args constructor.
CachedJPAEntityRepository<K extends Serializable,V extends Serializable> - Interface in dk.heick.caching.persistences.jpa.single
The repository instance used by DefaultJPAEntityValueManager.
CachingDirectory - Class in dk.heick.caching.persistences.file
Defines the directory where cached values is stored in files.
CachingDirectory(File) - Constructor for class dk.heick.caching.persistences.file.CachingDirectory
Constructor, where recursive is false.
CachingDirectory(File, boolean) - Constructor for class dk.heick.caching.persistences.file.CachingDirectory
Constructor.
CachingDirectory(File, SubDirectoryCreator) - Constructor for class dk.heick.caching.persistences.file.CachingDirectory
Constructor with recursive set to true.
cast(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
A convience method that cast the "AbstractValueWrapper" to a "DefaultFileValueWrapper"
cast(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.DefaultFileLRUCachingMap
A convience method that cast the "AbstractValueWrapper" to a "DefaultFileValueWrapper"
CharactersSubDirectoryCreator - Class in dk.heick.caching.persistences.file.subdirectory
Creates subdirectories on the basis of the Key as a String.
CharactersSubDirectoryCreator(int) - Constructor for class dk.heick.caching.persistences.file.subdirectory.CharactersSubDirectoryCreator
Constructor.
cleanup() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
cleanup() - Method in interface dk.heick.caching.LRUCachingMap
Cleanup the cache to uphold expire time and maxSize.
If maxSize is exceeded than the oldest must be remove until maxSize threshold is below limit.
This method must call the value manager flush method when is done.
CleanupTimerRunnable - Class in dk.heick.caching.utils
An CleanupTimer that calls "LRUCachingMap.cleanup" periodically.
CleanupTimerRunnable(LRUCachingMap<?, ?>) - Constructor for class dk.heick.caching.utils.CleanupTimerRunnable
Constructor
CommonCachedJPAEntity<K extends Serializable,V extends Serializable> - Interface in dk.heick.caching.persistences.jpa
 
compareTo(TimeSpan) - Method in class dk.heick.caching.utils.TimeSpan
Compares this TimeSpan with another on the "getSpan()"
constructEntity(K, V, Date) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
Constructs an instance of "CachedGroupJPAEntity" clazz.
constructEntity(K, V, Date) - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
Constructs an instance of "CachedGroupJPAEntity" clazz.
constructFile(String, V) - Method in class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
 
constructFile(K, V) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
Constructs a file using the Key and Value.
constructFile(K, V) - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
constructFile(K, V) - Method in class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
 
constructFile(String, File) - Method in class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceValueManager
 
constructWrapper(K, V) - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
constructWrapper(K, V) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
 
constructWrapper(K, V) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
 
constructWrapper(K, V) - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
 
constructWrapper(K, V) - Method in interface dk.heick.caching.ValueManager
Construct a ValueWrapper for the value, but do not sets the value, this is done either in "restore" or "storeValue"
createFilenameSerializedCache(LRUCachingMapConfiguration, CachingDirectory, PersistencesRestoreMethod) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a file serialization cache, where the values is serialized to files.
createFilenameXmlCache(LRUCachingMapConfiguration, CachingDirectory, Class<V>, PersistencesRestoreMethod) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a xml file marshall/unmarshall cache.
createFileReferenceCache(LRUCachingMapConfiguration, CachingDirectory, PersistencesRestoreMethod) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a file reference cache.
createIndexedSerializedCache(LRUCachingMapConfiguration, CachingDirectory, PersistencesRestoreMethod, int) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a indexed serializable file cache.
createIndexedXmlCache(LRUCachingMapConfiguration, CachingDirectory, Class<V>, PersistencesRestoreMethod, int) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a indexed XML file cache.
createJPACache(LRUCachingMapConfiguration, Class<? extends CachedJPAEntity<K, V>>, EntityManagerFactory, PersistencesRestoreMethod) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a JPA cache for an entity.
createJPAGroupedCache(LRUCachingMapConfiguration, String, Class<? extends CachedGroupJPAEntity<K, V>>, EntityManagerFactory, PersistencesRestoreMethod) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a group JPA cache for an entity, where multiple cache instances can share the same table.
createKeyedSerializedCache(LRUCachingMapConfiguration, CachingDirectory, PersistencesRestoreMethod) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a keyed serializable file cache.
createKeyedXmlCache(LRUCachingMapConfiguration, CachingDirectory, Class<V>, PersistencesRestoreMethod) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a keyed XML file cache.
createMemoryCache(LRUCachingMapConfiguration) - Static method in class dk.heick.caching.LRUCachingMapFactory
Constructs a memory cache.

D

DAYS_01 - Static variable in class dk.heick.caching.utils.TimeSpan
1 day
DAYS_02 - Static variable in class dk.heick.caching.utils.TimeSpan
2 days
DAYS_03 - Static variable in class dk.heick.caching.utils.TimeSpan
3 days
DAYS_04 - Static variable in class dk.heick.caching.utils.TimeSpan
4 days
DAYS_05 - Static variable in class dk.heick.caching.utils.TimeSpan
5 days
DAYS_06 - Static variable in class dk.heick.caching.utils.TimeSpan
6 days
DAYS_07 - Static variable in class dk.heick.caching.utils.TimeSpan
7 days
DAYS_08 - Static variable in class dk.heick.caching.utils.TimeSpan
8 days
DAYS_09 - Static variable in class dk.heick.caching.utils.TimeSpan
9 days
DAYS_10 - Static variable in class dk.heick.caching.utils.TimeSpan
10 days
DAYS_11 - Static variable in class dk.heick.caching.utils.TimeSpan
11 days
DAYS_12 - Static variable in class dk.heick.caching.utils.TimeSpan
12 days
DAYS_13 - Static variable in class dk.heick.caching.utils.TimeSpan
13 days
DAYS_14 - Static variable in class dk.heick.caching.utils.TimeSpan
14 days
DAYS_15 - Static variable in class dk.heick.caching.utils.TimeSpan
15 days
DAYS_16 - Static variable in class dk.heick.caching.utils.TimeSpan
16 days
DAYS_17 - Static variable in class dk.heick.caching.utils.TimeSpan
17 days
DAYS_18 - Static variable in class dk.heick.caching.utils.TimeSpan
18 days
DAYS_19 - Static variable in class dk.heick.caching.utils.TimeSpan
19 days
DAYS_20 - Static variable in class dk.heick.caching.utils.TimeSpan
20 days
DAYS_21 - Static variable in class dk.heick.caching.utils.TimeSpan
21 days
DAYS_22 - Static variable in class dk.heick.caching.utils.TimeSpan
22 days
DAYS_23 - Static variable in class dk.heick.caching.utils.TimeSpan
23 days
DAYS_24 - Static variable in class dk.heick.caching.utils.TimeSpan
24 days
DAYS_25 - Static variable in class dk.heick.caching.utils.TimeSpan
25 days
DAYS_26 - Static variable in class dk.heick.caching.utils.TimeSpan
26 days
DAYS_27 - Static variable in class dk.heick.caching.utils.TimeSpan
27 days
DAYS_28 - Static variable in class dk.heick.caching.utils.TimeSpan
28 days
DAYS_29 - Static variable in class dk.heick.caching.utils.TimeSpan
29 days
DAYS_30 - Static variable in class dk.heick.caching.utils.TimeSpan
30 days
DAYS_31 - Static variable in class dk.heick.caching.utils.TimeSpan
31 days
DEFAULT_CLEANUP_INTERVAL - Static variable in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Default cleanup interval is 15 minuttes.
DEFAULT_DIRECTORY_NAME_CHAR - Static variable in class dk.heick.caching.persistences.file.subdirectory.CharactersSubDirectoryCreator
The default character used.
DEFAULT_EXPIRE_TIME - Static variable in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Default expiretime is 10 hours.
DEFAULT_EXTEND_TIME - Static variable in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Default extend time is 1 hour.
DEFAULT_MAX_EXTEND_COUNT - Static variable in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Default max extend count is 5
DEFAULT_MAX_SIZE - Static variable in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Default max size is 10000.
DEFAULT_PERSISTED_VALUES_IN_MEMORY - Static variable in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Default value if persisted values should be stored in memory as well - true.
DefaultCachedGroupJPAEntityRepository<K extends Serializable,V extends Serializable> - Class in dk.heick.caching.persistences.jpa.grouped
The repository instance of CachedGroupJPAEntityRepository.
DefaultCachedGroupJPAEntityRepository(String, Class<? extends CachedGroupJPAEntity<K, V>>, EntityManagerFactory) - Constructor for class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
Constructor
DefaultCachedJPAEntityRepository<K extends Serializable,V extends Serializable> - Class in dk.heick.caching.persistences.jpa.single
The repository instance of CachedJPAEntityRepository.
DefaultCachedJPAEntityRepository(Class<? extends CachedJPAEntity<K, V>>, EntityManagerFactory) - Constructor for class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
Constructor.
DefaultCachedJPAValueWrapper<K extends Serializable,V extends Serializable> - Class in dk.heick.caching.persistences.jpa.single
A value wrapper class for DefaultCachedJPAValueWrapper, this is both for CachedJPAEntity and CachedGroupJPAEntity.
DefaultCachedJPAValueWrapper(K, V) - Constructor for class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAValueWrapper
Constructor.
DefaultFileLRUCachingMap<K,V> - Class in dk.heick.caching.persistences.file
The default LRUCachingMap for file handling.
The "AbstractValueWrapper" is always cast to a "DefaultFileValueWrapper".
DefaultFileLRUCachingMap(LRUCachingMapConfiguration, AbstractFileValueManager<K, V>) - Constructor for class dk.heick.caching.persistences.file.DefaultFileLRUCachingMap
Constructor
DefaultFilenameFileReferenceLRUCachingMap - Class in dk.heick.caching.persistences.file.reference
Default implementation to support file references, Memory links to file.
The key is a String, which is stored in the filename (File.getName()) and be reconstructed.
DefaultFilenameFileReferenceLRUCachingMap(LRUCachingMapConfiguration, CachingDirectory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceLRUCachingMap
Constructor.
DefaultFilenameFileReferenceValueManager - Class in dk.heick.caching.persistences.file.reference
A ValueManager which holds file references.
Meaning that the key is a String which is stored in "file.getName()" and the value is File.
DefaultFilenameFileReferenceValueManager(CachingDirectory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceValueManager
Constructor.
DefaultFilenameSerializableFileValueManager<V extends Serializable> - Class in dk.heick.caching.persistences.file.serializable
This ValueManager will serialize and deserialize the value V to a file where the Key(K) is a String which is used as filename.
DefaultFilenameSerializableFileValueManager(CachingDirectory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.serializable.DefaultFilenameSerializableFileValueManager
Constructor
DefaultFilenameXmlFileValueManager<V> - Class in dk.heick.caching.persistences.file.xml
This ValueManager will save and load the value V to a file using JAXB.
DefaultFilenameXmlFileValueManager(CachingDirectory, Class<V>, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.xml.DefaultFilenameXmlFileValueManager
Constructor.
DefaultFileValueWrapper<K,V> - Class in dk.heick.caching.persistences.file
The value wrapper that hold enough information to retrive a file containing the value.
DefaultFileValueWrapper(K, File) - Constructor for class dk.heick.caching.persistences.file.DefaultFileValueWrapper
Construct a FileValueReference on the basis of an existing file, used when reinitializing the LRUCachingMap.
DefaultGroupJPAEntityValueManager<K extends Serializable,V extends Serializable> - Class in dk.heick.caching.persistences.jpa.grouped
The valueManager which handles key,values for CachedGroupJPAEntity using the CachedGroupJPAEntityRepository.
DefaultGroupJPAEntityValueManager(CachedGroupJPAEntityRepository<K, V>, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
Constructor.
DefaultGroupJPAEntityValueManager(String, Class<? extends CachedGroupJPAEntity<K, V>>, EntityManagerFactory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
Constructor.
DefaultIndexedSerializableFileValueManager<K extends Serializable,V extends Serializable> - Class in dk.heick.caching.persistences.file.serializable
Default implementation of AbstractIndexedFileValueManager, which stores the value as serialized files.
DefaultIndexedSerializableFileValueManager(CachingDirectory, PersistencesRestoreMethod, int) - Constructor for class dk.heick.caching.persistences.file.serializable.DefaultIndexedSerializableFileValueManager
 
DefaultIndexedXmlFileValueManager<K extends Serializable,V> - Class in dk.heick.caching.persistences.file.xml
The default implementation of AbstractIndexedFileValueManager which stores the value as XML files.
DefaultIndexedXmlFileValueManager(CachingDirectory, Class<V>, PersistencesRestoreMethod, int) - Constructor for class dk.heick.caching.persistences.file.xml.DefaultIndexedXmlFileValueManager
Constructor.
DefaultJPAEntityValueManager<K extends Serializable,V extends Serializable> - Class in dk.heick.caching.persistences.jpa.single
The valueManager which handles key,values for CachedJPAEntity using the CachedJPAEntityRepository.
DefaultJPAEntityValueManager(CachedJPAEntityRepository<K, V>, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
Constructor
DefaultKeyedSerializableFileValueManager<K extends Serializable,V extends Keyed<K> & Serializable> - Class in dk.heick.caching.persistences.file.serializable
This ValueManager will serialize and deserialize the value V to a file where the key is stored in the Value.
This requries that V implements Serializable and Keyed.
DefaultKeyedSerializableFileValueManager(CachingDirectory, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.serializable.DefaultKeyedSerializableFileValueManager
Constructor
DefaultKeyedXmlFileValueManager<K extends Serializable,V extends Keyed<K>> - Class in dk.heick.caching.persistences.file.xml
This ValueManager will save and load the value V to a file using JAXB.
DefaultKeyedXmlFileValueManager(CachingDirectory, Class<V>, PersistencesRestoreMethod) - Constructor for class dk.heick.caching.persistences.file.xml.DefaultKeyedXmlFileValueManager
Constructor.
DefaultLRUCachingMap<K,V> - Class in dk.heick.caching
Default implementation of LRUCachingMap, still using K,V as Key and Value.
DefaultLRUCachingMap() - Constructor for class dk.heick.caching.DefaultLRUCachingMap
Default constructor, using DefaultLRUCachingMapConfiguration and DefaultMemoryValueManager.
DefaultLRUCachingMap(LRUCachingMapConfiguration, ValueManager<K, V>) - Constructor for class dk.heick.caching.DefaultLRUCachingMap
Constructor.
DefaultLRUCachingMapConfiguration - Class in dk.heick.caching
The default implementation of LRUCachingMapConfiguration.
DefaultLRUCachingMapConfiguration() - Constructor for class dk.heick.caching.DefaultLRUCachingMapConfiguration
Default constructor using default parameters as constructor parameters.
DefaultLRUCachingMapConfiguration(TimeSpan, TimeSpan, int, int, TimeSpan, boolean) - Constructor for class dk.heick.caching.DefaultLRUCachingMapConfiguration
Constructor.
DefaultLRUCachingMapConfiguration(long, long, int, int, long, boolean) - Constructor for class dk.heick.caching.DefaultLRUCachingMapConfiguration
Constructor.
DefaultMemoryLRUCachingMap<K,V> - Class in dk.heick.caching.memory
Default memory implementation for a DefaultLRUCachingMap.
DefaultMemoryLRUCachingMap(LRUCachingMapConfiguration) - Constructor for class dk.heick.caching.memory.DefaultMemoryLRUCachingMap
Constructor.
DefaultMemoryValueManager<K,V> - Class in dk.heick.caching.memory
A ValueManager which holds values in memory.
DefaultMemoryValueManager() - Constructor for class dk.heick.caching.memory.DefaultMemoryValueManager
Constructor
DefaultMemoryValueWrapper<K,V> - Class in dk.heick.caching.memory
Default value wrapper to hold the value in memory.
DefaultMemoryValueWrapper(K, V) - Constructor for class dk.heick.caching.memory.DefaultMemoryValueWrapper
Constructor.
DefaultSubDirectoryCreator - Class in dk.heick.caching.persistences.file.subdirectory
Default implementation of SubDirectoryCreator, will simply return the base directory.
DefaultSubDirectoryCreator() - Constructor for class dk.heick.caching.persistences.file.subdirectory.DefaultSubDirectoryCreator
Constructor.
delete() - Method in class dk.heick.caching.persistences.file.CachingDirectory
Delete everything inside the "directory" which matches the filter and recursive.
delete(K) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
This will delete a row in the table with the key and with the "group".
delete(K) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
delete(K) - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
This will delete a row in the table with the key.
delete(K) - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
deleteAll(Date) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Delete all rows from this table where "CachedGroupJPAEntity.getExpireDateTime()" is below belowExpireDateTime and with this "group".
deleteAll() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Delete all rows from the table with this "group"
deleteAll() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
deleteAll(Date) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
deleteAll(Date) - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Delete all rows from this table where "CachedJPAEntity.getExpireDateTime()" is below belowExpireDateTime.
deleteAll() - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Delete all rows from the table.
deleteAll() - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
deleteAll(Date) - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
diff(TimeSpan, TimeSpan) - Static method in class dk.heick.caching.utils.TimeSpan
The Math.abs() differences between two timespans.
dk.heick.caching - package dk.heick.caching
 
dk.heick.caching.memory - package dk.heick.caching.memory
 
dk.heick.caching.persistences - package dk.heick.caching.persistences
 
dk.heick.caching.persistences.file - package dk.heick.caching.persistences.file
 
dk.heick.caching.persistences.file.reference - package dk.heick.caching.persistences.file.reference
 
dk.heick.caching.persistences.file.serializable - package dk.heick.caching.persistences.file.serializable
 
dk.heick.caching.persistences.file.subdirectory - package dk.heick.caching.persistences.file.subdirectory
 
dk.heick.caching.persistences.file.utils - package dk.heick.caching.persistences.file.utils
 
dk.heick.caching.persistences.file.xml - package dk.heick.caching.persistences.file.xml
 
dk.heick.caching.persistences.jpa - package dk.heick.caching.persistences.jpa
 
dk.heick.caching.persistences.jpa.grouped - package dk.heick.caching.persistences.jpa.grouped
 
dk.heick.caching.persistences.jpa.single - package dk.heick.caching.persistences.jpa.single
 
dk.heick.caching.utils - package dk.heick.caching.utils
 
dueIn(Date, Date) - Method in class dk.heick.caching.utils.TimeSpan
The number of milleseconds before a timespan is due for two dates
dueIn(Date) - Method in class dk.heick.caching.utils.TimeSpan
The number of milleseconds before a timespan is due for a date and NOW

E

equals(Object) - Method in class dk.heick.caching.persistences.file.CachingDirectory
Equals if the both is of class CachingDirectory and has the same directory.
equals(Object) - Method in class dk.heick.caching.utils.TimeSpan
If the millisecond span "getSpan" is equal.
exists(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
exists(K) - Method in interface dk.heick.caching.LRUCachingMap
Validates if the key exists in the map, if its expired the key/value pair is removed.
extend(K, long) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
extend(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
extend(K, long, int) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
extend(K, long) - Method in interface dk.heick.caching.LRUCachingMap
Extends a key expire time with an extendTime still, and the "getMaxExtendCount()" will have no effect.
extend(K) - Method in interface dk.heick.caching.LRUCachingMap
Extends a key expire time with "getExtendTime()"

F

flush() - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
This is ensures that any memory data that needs to be persisted is flushed.
flush() - Method in class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
This is ensures that any memory data that needs to be persisted is flushed.
flush() - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
This is ensures that any memory data that needs to be persisted is flushed.
flush() - Method in class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
This is ensures that any memory data that needs to be persisted is flushed.
flush() - Method in class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceValueManager
This is ensures that any memory data that needs to be persisted is flushed.
flush() - Method in class dk.heick.caching.persistences.file.xml.DefaultKeyedXmlFileValueManager
 
flush() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
This is ensures that any memory data that needs to be persisted is flushed.
flush() - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
This is ensures that any memory data that needs to be persisted is flushed.
flush() - Method in interface dk.heick.caching.ValueManager
This is ensures that any memory data that needs to be persisted is flushed.

G

get(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
get(K) - Method in interface dk.heick.caching.LRUCachingMap
Gets a Value for a corresponding Key.
get(K) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Gets a row with the key and group.
get(K) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
get(K) - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Gets a row with the key.
get(K) - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
getAll() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Get all rows from the table with this "group"
getAll() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
getAll() - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Get all rows from the table
getAll() - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
getCachingDirectory() - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
The directory to store the Value as a file.
getCaption() - Method in class dk.heick.caching.utils.TimeSpan
Creates a readable text caption for the Timespan.
getCleanupIntervalTime() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
getCleanupIntervalTime() - Method in interface dk.heick.caching.LRUCachingMapConfiguration
How long interval between cleanup is performed by an internal thread.
getConfiguration() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getConfiguration() - Method in interface dk.heick.caching.LRUCachingMap
Gets the configuration instance
getDays(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X days.
getDays() - Method in class dk.heick.caching.utils.TimeSpan
How many days the timespan covers, minus all the rest.
getDefaultName() - Method in class dk.heick.caching.persistences.file.subdirectory.CharactersSubDirectoryCreator
The default subdirectory name if "key" string length is below "subDirectoriesNameLength".
getDirectory() - Method in class dk.heick.caching.persistences.file.CachingDirectory
The caching directory of which must exists and be of type directory.
getEntityClazz() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Gets the class instance of CachedGroupJPAEntity.
getEntityClazz() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
getEntityClazz() - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Gets the class instance of CachedJPAEntity.
getEntityClazz() - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
getEntityManagerFactory() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Gets the EntityManagerFactory.
getEntityManagerFactory() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
getEntityManagerFactory() - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Gets the EntityManagerFactory.
getEntityManagerFactory() - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
getExpirationDateTime(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getExpirationDateTime(K) - Method in interface dk.heick.caching.LRUCachingMap
When do the key expire.
getExpirationTimeSpan(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getExpirationTimeSpan() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getExpirationTimeSpan(K) - Method in interface dk.heick.caching.LRUCachingMap
Gets the expiration timespan for a key.
getExpirationTimeSpan() - Method in interface dk.heick.caching.LRUCachingMap
The timespan in milliseconds, between the oldest and youngest key
getExpireDateTime() - Method in interface dk.heick.caching.persistences.jpa.CommonCachedJPAEntity
Gets the expire datetime
getExpireTime() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
getExpireTime() - Method in interface dk.heick.caching.LRUCachingMapConfiguration
How many milliseconds a key may be in the cache per default, before it is removed from cache.
getExtendTime() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
getExtendTime() - Method in interface dk.heick.caching.LRUCachingMapConfiguration
When a Key is retrieved from the class via get(K key) the Key/Value pair can has it expire time extended.
getFile(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
Gets the file where the value is stored.
getFile(K) - Method in class dk.heick.caching.persistences.file.DefaultFileLRUCachingMap
Gets the file where the value is stored in.
getFile() - Method in class dk.heick.caching.persistences.file.DefaultFileValueWrapper
The file containing the value.
getGroup() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Gets the group name for this repository, is part of the ID for CachedGroupJPAEntity.
getGroup() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAID
Gets the group.
getGroup() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
getHours(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X hours.
getHours() - Method in class dk.heick.caching.utils.TimeSpan
How many hours the timespan covers, minus all the rest.
getId() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntity
Gets the CachedGroupJPAID
getIndexSaveInterval() - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
How many changes must be made before the index "File-to-Key" hashtable is persisted.
getKey() - Method in class dk.heick.caching.persistences.file.DefaultFileValueWrapper
Gets the key
getKey() - Method in interface dk.heick.caching.persistences.file.Keyed
Gets the key
getKey() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAID
Gets the key.
getKey() - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntity
Gets the key.
getKey() - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAValueWrapper
Gets the key.
getKeys() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getKeys() - Method in interface dk.heick.caching.LRUCachingMap
Get the keys in a iterator.
getLastCleanupDateTime() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getLastCleanupDateTime() - Method in interface dk.heick.caching.LRUCachingMap
Gets the last time the cleanup method was performed
getLogger() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getLogger() - Method in interface dk.heick.caching.LRUCachingMap
A logger for getting metrics on how the caching is performing.
getLogger() - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
getLogger() - Method in class dk.heick.caching.persistences.AbstractPersistenceValueManager
 
getLogger() - Method in class dk.heick.caching.persistences.file.CachingDirectory
Gets the logger
getLogger() - Method in interface dk.heick.caching.ValueManager
A logger for getting metrics on how the caching is performing.
getMaxExtendCount() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
getMaxExtendCount() - Method in interface dk.heick.caching.LRUCachingMapConfiguration
How many times an Key/Value pair is allowed to be extended in expiretime.
getMaxSize() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
getMaxSize() - Method in interface dk.heick.caching.LRUCachingMapConfiguration
How many keys is maximum allowed in the class, if exceeded the oldest entries is removed until below maxSize.
getMilliSeconds(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X years.
getMilliseconds() - Method in class dk.heick.caching.utils.TimeSpan
How many milliseconds the timespan covers, minus all the rest.
getMinutes(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X minutes.
getMinutes() - Method in class dk.heick.caching.utils.TimeSpan
How many minutes the timespan covers, minus all the rest.
getMonths(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X months.
getName() - Method in class dk.heick.caching.utils.TimeSpan
The TimeSpan name
getNextToExpire() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getNextToExpire() - Method in interface dk.heick.caching.LRUCachingMap
Gets the next key which has the lowest expiration date time.
getParsableText() - Method in class dk.heick.caching.utils.TimeSpan
Using the "milliseconds, seconds, minutes, hours, days, years" values constructing a value which can be parsed by TimeSpan.parse(String).
getPersistencesRestoreMethod() - Method in class dk.heick.caching.persistences.AbstractPersistenceValueManager
The restoration method, when reconstructing the LRUCachingMap.
getRepository() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
Gets the "CachedGroupJPAEntityRepository" instance.
getRepository() - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
An instance of CachedJPAEntityRepository.
getSeconds(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X years.
getSeconds() - Method in class dk.heick.caching.utils.TimeSpan
How many seconds the timespan covers, minus all the rest.
getSpan() - Method in class dk.heick.caching.utils.TimeSpan
The primary value, from which all other values eminates.
getStoreDateTime(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getStoreDateTime(K) - Method in interface dk.heick.caching.LRUCachingMap
When was the Key stored in the cache.
getStoredDateTime() - Method in interface dk.heick.caching.persistences.jpa.CommonCachedJPAEntity
Gets the store datetime.
getSubDirectoriesNameLength() - Method in class dk.heick.caching.persistences.file.subdirectory.CharactersSubDirectoryCreator
The length of the subdirectories created on the basis of the key.
getSubDirectory(String) - Method in class dk.heick.caching.persistences.file.CachingDirectory
From a filename "String" (which is the key) construct a subdirectory if needed to put the value files in different directories.
This could be to limit the the number of files in a directory, or be able to view a sub directory with certain type of values.
This will use the "SubDirectoryCreator" (if any) to a create a sub directory to store the value file in, this is only allowed is recursive is true.
The default behaviour is that there is no "SubDirectoryCreator", and all files will be stored directly in the caching directory.
getSubDirectory(File, String) - Method in class dk.heick.caching.persistences.file.subdirectory.CharactersSubDirectoryCreator
 
getSubDirectory(File, String) - Method in class dk.heick.caching.persistences.file.subdirectory.DefaultSubDirectoryCreator
 
getSubDirectory(File, String) - Method in interface dk.heick.caching.persistences.file.subdirectory.SubDirectoryCreator
Construct a sub
getSubDirectoryCreator() - Method in class dk.heick.caching.persistences.file.CachingDirectory
Gets the SubDirectoryCreator
getUnitName() - Method in enum dk.heick.caching.utils.TimeSpanUnit
The unit name
getUnitName(long) - Method in enum dk.heick.caching.utils.TimeSpanUnit
The unit name as singular or prural.
getUnitSpanInMilliSeconds() - Method in enum dk.heick.caching.utils.TimeSpanUnit
The unit timespan in milliseconds.
getValue() - Method in class dk.heick.caching.memory.DefaultMemoryValueWrapper
Gets the value from memory.
getValue() - Method in interface dk.heick.caching.persistences.jpa.CommonCachedJPAEntity
Gets the value.
getValueManager() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
getValueManager() - Method in interface dk.heick.caching.LRUCachingMap
The manager class which handles the wrapped values, so it either can be stored in memory, file, db, etc...
getValueWrapper(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
Gets the "AbstractValueWrapper<K,V>" for the value.
getWeeks(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X weeks.
getXmlClazz() - Method in class dk.heick.caching.persistences.file.xml.DefaultFilenameXmlFileValueManager
The class name of V.
getXmlClazz() - Method in class dk.heick.caching.persistences.file.xml.DefaultIndexedXmlFileValueManager
The class name of V.
getXmlClazz() - Method in class dk.heick.caching.persistences.file.xml.DefaultKeyedXmlFileValueManager
The class name of V.
getYears(int) - Static method in class dk.heick.caching.utils.TimeSpan
Generates a Timespan of X years.
getYears() - Method in class dk.heick.caching.utils.TimeSpan
How many years the timespan covers, minus all the rest.

H

hashCode() - Method in class dk.heick.caching.persistences.file.CachingDirectory
 
hashCode() - Method in class dk.heick.caching.utils.TimeSpan
The hashCode of the toString method.
HOURS_01 - Static variable in class dk.heick.caching.utils.TimeSpan
1 hour
HOURS_02 - Static variable in class dk.heick.caching.utils.TimeSpan
2 hours
HOURS_03 - Static variable in class dk.heick.caching.utils.TimeSpan
3 hours
HOURS_04 - Static variable in class dk.heick.caching.utils.TimeSpan
4 hours
HOURS_05 - Static variable in class dk.heick.caching.utils.TimeSpan
5 hours
HOURS_06 - Static variable in class dk.heick.caching.utils.TimeSpan
6 hours
HOURS_07 - Static variable in class dk.heick.caching.utils.TimeSpan
7 hours
HOURS_08 - Static variable in class dk.heick.caching.utils.TimeSpan
8 hours
HOURS_09 - Static variable in class dk.heick.caching.utils.TimeSpan
9 hours
HOURS_10 - Static variable in class dk.heick.caching.utils.TimeSpan
10 hours
HOURS_11 - Static variable in class dk.heick.caching.utils.TimeSpan
11 hours
HOURS_12 - Static variable in class dk.heick.caching.utils.TimeSpan
12 hours
HOURS_13 - Static variable in class dk.heick.caching.utils.TimeSpan
13 hours
HOURS_14 - Static variable in class dk.heick.caching.utils.TimeSpan
14 hours
HOURS_15 - Static variable in class dk.heick.caching.utils.TimeSpan
15 hours
HOURS_16 - Static variable in class dk.heick.caching.utils.TimeSpan
16 hours
HOURS_17 - Static variable in class dk.heick.caching.utils.TimeSpan
17 hours
HOURS_18 - Static variable in class dk.heick.caching.utils.TimeSpan
18 hours
HOURS_19 - Static variable in class dk.heick.caching.utils.TimeSpan
19 hours
HOURS_20 - Static variable in class dk.heick.caching.utils.TimeSpan
20 hours
HOURS_21 - Static variable in class dk.heick.caching.utils.TimeSpan
21 hours
HOURS_22 - Static variable in class dk.heick.caching.utils.TimeSpan
22 hours
HOURS_23 - Static variable in class dk.heick.caching.utils.TimeSpan
23 hours
HOURS_24 - Static variable in class dk.heick.caching.utils.TimeSpan
24 hours

I

insert(CachedGroupJPAEntity<K, V>) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
This will insert a row in the table with the "group".
insert(CachedGroupJPAEntity<K, V>) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
insert(CachedJPAEntity<K, V>) - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
This will insert a row in the table.
insert(CachedJPAEntity<K, V>) - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
isExpired(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
isExpired(K) - Method in interface dk.heick.caching.LRUCachingMap
Is the key is expired.
isGreatherThan(TimeSpan) - Method in class dk.heick.caching.utils.TimeSpan
Compares this with another TimeSpan, and determines if this is less than other.
isLessThan(TimeSpan) - Method in class dk.heick.caching.utils.TimeSpan
Compares this with another TimeSpan, and determines if this is greather than other.
isPastSpan(Date, Date) - Method in class dk.heick.caching.utils.TimeSpan
Is the difference of two dates larger than the timespan.
isPastSpan(Date) - Method in class dk.heick.caching.utils.TimeSpan
Is the difference of a date and NOW larger than the timespan.
isPersisted() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
isPersisted() - Method in interface dk.heick.caching.LRUCachingMap
Determine if ValueManager persists the the values.
isPersisted() - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
isPersisted() - Method in class dk.heick.caching.persistences.AbstractPersistenceValueManager
Determine if the values is in a persistence storage.
isPersisted() - Method in interface dk.heick.caching.ValueManager
Determine if the values is in a persistence storage.
isPersistedValuesInMemory() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
isPersistedValuesInMemory() - Method in interface dk.heick.caching.LRUCachingMapConfiguration
If the values for persisted LRUCachingMaps should be held in memory or not.
If false the values for persisted storage will have to retrieved from persisted storage for each get, if true all values is held in memory as well, this will have an effect on your memory usage.
isRecursive() - Method in class dk.heick.caching.persistences.file.CachingDirectory
If the caching directory has multiple levels or not.

K

Keyed<K> - Interface in dk.heick.caching.persistences.file
The interface the Value(V) must implement to use the Keyed ValueManagers.

L

LRUCachingMap<K,V> - Interface in dk.heick.caching
Generic LRUCachingMap interface definition.
LRUCachingMapConfiguration - Interface in dk.heick.caching
Interface for LRUCachingMapConfiguration
LRUCachingMapFactory - Class in dk.heick.caching
 
LRUCachingMapFactory() - Constructor for class dk.heick.caching.LRUCachingMapFactory
 

M

MINUTES_01 - Static variable in class dk.heick.caching.utils.TimeSpan
1 minut
MINUTES_02 - Static variable in class dk.heick.caching.utils.TimeSpan
2 minutes
MINUTES_03 - Static variable in class dk.heick.caching.utils.TimeSpan
3 minutes
MINUTES_04 - Static variable in class dk.heick.caching.utils.TimeSpan
4 minutes
MINUTES_05 - Static variable in class dk.heick.caching.utils.TimeSpan
5 minutes
MINUTES_10 - Static variable in class dk.heick.caching.utils.TimeSpan
10 minutes
MINUTES_15 - Static variable in class dk.heick.caching.utils.TimeSpan
15 minutes
MINUTES_20 - Static variable in class dk.heick.caching.utils.TimeSpan
20 minutes
MINUTES_25 - Static variable in class dk.heick.caching.utils.TimeSpan
25 minutes
MINUTES_30 - Static variable in class dk.heick.caching.utils.TimeSpan
30 minutes
MINUTES_35 - Static variable in class dk.heick.caching.utils.TimeSpan
35 minutes
MINUTES_40 - Static variable in class dk.heick.caching.utils.TimeSpan
40 minutes
MINUTES_45 - Static variable in class dk.heick.caching.utils.TimeSpan
45 minutes
MINUTES_50 - Static variable in class dk.heick.caching.utils.TimeSpan
50 minutes
MINUTES_55 - Static variable in class dk.heick.caching.utils.TimeSpan
55 minutes
MINUTES_60 - Static variable in class dk.heick.caching.utils.TimeSpan
60 minutes
MONTHS_1 - Static variable in class dk.heick.caching.utils.TimeSpan
1 month - 31 days
MONTHS_12 - Static variable in class dk.heick.caching.utils.TimeSpan
12 months - 12x 31 days
MONTHS_2 - Static variable in class dk.heick.caching.utils.TimeSpan
2 months - 2x 31 days
MONTHS_3 - Static variable in class dk.heick.caching.utils.TimeSpan
3 months - 3x 31 days
MONTHS_6 - Static variable in class dk.heick.caching.utils.TimeSpan
6 months - 6x 31 days
MONTHS_9 - Static variable in class dk.heick.caching.utils.TimeSpan
9 months - 9x 31 days
multiply(double) - Method in class dk.heick.caching.utils.TimeSpan
Multiplies the current Timespan with a double factor in a new TimeSpan instance.

N

noAutoCleanup() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Sets the cleanupIntervalTime to zero.
Meaning during the construction of a LRUCachingMap, no cleanup timer thread is created.
noExtendTime() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Sets the extendTime to zero.
noMaxExtendCount() - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Sets the maxExtendCount to zero.

O

ONE_DAY() - Static method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is: expireTime : 1 day extendTime : 1 hour maxExtendCount : 5 maxSize : 10000 cleanupInterval : 15 minutes persistedValuesInMemory : false
ONE_HOUR() - Static method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is: expireTime : 1 hour extendTime : 5 minutes maxExtendCount : 5 maxSize : 10000 cleanupInterval : 5 minutes persistedValuesInMemory : true
ONE_MINUTE() - Static method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is: expireTime : 1 minute extendTime : 0 maxExtendCount : 5 maxSize : 1000 cleanupInterval : 1 minute persistedValuesInMemory : true
ONE_WEEK() - Static method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is: expireTime : 7 days extendTime : 6 hours maxExtendCount : 5 maxSize : 10000 cleanupInterval : 1 hour persistedValuesInMemory : false

P

parse(String) - Static method in class dk.heick.caching.utils.TimeSpan
Concstructs a TimeSpan instance of the basis string value parsing.
parse(Date, Date) - Static method in class dk.heick.caching.utils.TimeSpan
Constructs a TimeSpan instance on the basis of the difference between to date instances.
parse(Date) - Static method in class dk.heick.caching.utils.TimeSpan
Constructs a TimeSpan instance on the basis of the difference between a date and the NOW date.
peek(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
peek(K) - Method in interface dk.heick.caching.LRUCachingMap
Peek at the value with the key, but it do not remove the key/value if it is expired or extend its expiration datetime.
PERSISTENCE_STORAGE_INDEX_FILE - Variable in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
PERSISTENCE_STORAGE_INDEX_FILENAME - Static variable in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
PersistencesRestoreMethod - Enum in dk.heick.caching.persistences
Enum constants that determines how persistent ValueManager shall try to restore their persisted cached values.
put(K, V) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
put(K, V) - Method in interface dk.heick.caching.LRUCachingMap
Puts a key value pair in the cache.
put(File) - Method in class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceLRUCachingMap
Puts a reference file in the cache
put(String, File) - Method in class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceLRUCachingMap
Overrides the put method, ignores the key, but uses the File.getName() as key.

R

readSerializableFromFile(File) - Method in class dk.heick.caching.persistences.file.utils.SerializableUtils
Loads a serialized file into the Object "T".
readSerializableFromString(String) - Method in class dk.heick.caching.persistences.file.utils.SerializableUtils
Loads a serialized String into the Object "T".
readXmlFromFile(File, Class<T>) - Method in class dk.heick.caching.persistences.file.utils.XmlUtils
Reads and xml file using JAXB.
readXmlFromString(String, Class<T>) - Method in class dk.heick.caching.persistences.file.utils.XmlUtils
Reads the XML from a string
reconstructKey(File) - Method in class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
Reconstructs the key which is the filename.
reconstructKey(File) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
When restoring a persisted LRUCachingMap, we need the ability to reconstruct the Key.
reconstructKey(File) - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
reconstructKey(File) - Method in class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
 
reconstructKey(File) - Method in class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceValueManager
 
reload() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
reload() - Method in interface dk.heick.caching.LRUCachingMap
Will perform a complete reload of the cached elements if they are persisted, if not persisted nothing will happend.
remove(K) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
remove(K) - Method in interface dk.heick.caching.LRUCachingMap
Removes the key and its value form the cache.
removeAll() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
removeAll() - Method in interface dk.heick.caching.LRUCachingMap
Remove all key/values from the cache, and delete the values if persisted.
removeAll() - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
removeAll() - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
 
removeAll() - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
removeAll() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
 
removeAll() - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
 
removeAll() - Method in interface dk.heick.caching.ValueManager
Remove all persisted values from the value "storage".
removeValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
removeValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
 
removeValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
removeValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
 
removeValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
 
removeValue(AbstractValueWrapper<K, V>) - Method in interface dk.heick.caching.ValueManager
Removes the value
restore(LRUCachingMap<K, V>) - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
restore(LRUCachingMap<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
 
restore(LRUCachingMap<K, V>) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
 
restore(LRUCachingMap<K, V>) - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
 
restore(LRUCachingMap<K, V>) - Method in interface dk.heick.caching.ValueManager
Restores any persisted key/values to the LRUCachingMap when the map is constructed.
restoreCacheElement(K, AbstractValueWrapper<K, V>, Date) - Method in class dk.heick.caching.DefaultLRUCachingMap
 
restoreCacheElement(K, AbstractValueWrapper<K, V>, Date) - Method in interface dk.heick.caching.LRUCachingMap
Used by ValueManager.initialize(LRUCachingMap) to initialize the caching structure, after an reload.
retrieveFileValue(DefaultFileValueWrapper<String, V>) - Method in class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
Loads the value from the file in valueWrapper.
retrieveFileValue(DefaultFileValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
Loads the value from the file in valueWrapper.
retrieveFileValue(DefaultFileValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
Loads the value from the file in valueWrapper.
retrieveFileValue(DefaultFileValueWrapper<String, V>) - Method in class dk.heick.caching.persistences.file.serializable.DefaultFilenameSerializableFileValueManager
 
retrieveFileValue(DefaultFileValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.serializable.DefaultIndexedSerializableFileValueManager
 
retrieveFileValue(DefaultFileValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.serializable.DefaultKeyedSerializableFileValueManager
 
retrieveFileValue(DefaultFileValueWrapper<String, V>) - Method in class dk.heick.caching.persistences.file.xml.DefaultFilenameXmlFileValueManager
 
retrieveFileValue(DefaultFileValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.xml.DefaultIndexedXmlFileValueManager
 
retrieveFileValue(DefaultFileValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.xml.DefaultKeyedXmlFileValueManager
 
retrieveValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
retrieveValue(AbstractValueWrapper<String, V>) - Method in class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
 
retrieveValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
retrieveValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
 
retrieveValue(AbstractValueWrapper<String, File>) - Method in class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceValueManager
 
retrieveValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
 
retrieveValue(AbstractValueWrapper<K, V>) - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
 
retrieveValue(AbstractValueWrapper<K, V>) - Method in interface dk.heick.caching.ValueManager
Retrives value via the data contained in the ValueWrapper
run() - Method in class dk.heick.caching.utils.CleanupTimerRunnable
 

S

SECONDS_01 - Static variable in class dk.heick.caching.utils.TimeSpan
1 second
SECONDS_15 - Static variable in class dk.heick.caching.utils.TimeSpan
15 seconds
SECONDS_30 - Static variable in class dk.heick.caching.utils.TimeSpan
30 seconds
SECONDS_45 - Static variable in class dk.heick.caching.utils.TimeSpan
45 seconds
SECONDS_60 - Static variable in class dk.heick.caching.utils.TimeSpan
60seconds
SerializableUtils<T extends Serializable> - Class in dk.heick.caching.persistences.file.utils
Serializable Utils.
SerializableUtils() - Constructor for class dk.heick.caching.persistences.file.utils.SerializableUtils
Constructor.
setCleanupIntervalTime(long) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Setting this value AFTER the LRUCachingMap has been constructed has NO effect !!!!.
setCleanupIntervalTime(long) - Method in interface dk.heick.caching.LRUCachingMapConfiguration
Set the cleanup interval in milliseconds.
setCleanupIntervalTimeSpan(TimeSpan) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Sets the cleanupIntervalTime using a TimeSpan.
setExpireDateTime(Date) - Method in interface dk.heick.caching.persistences.jpa.CommonCachedJPAEntity
Sets the value expire datetime.
setExpireTime(long) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
setExpireTime(long) - Method in interface dk.heick.caching.LRUCachingMapConfiguration
Set the expireTime for a key in milliseconds.
setExpireTimeSpan(TimeSpan) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Sets the expireTime using a TimeSpan.
setExtendTime(long) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
setExtendTime(long) - Method in interface dk.heick.caching.LRUCachingMapConfiguration
How many milliseconds a "key"'s expire time is extended in milliseconds everytime is it "get" from a "LRUCachingMap".
setExtendTimeSpan(TimeSpan) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Sets the extendTime using a TimeSpan.
setGroup(String) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAID
Sets the group.
setId(CachedGroupJPAID<K>) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntity
Sets the CachedGroupJPAID id.
setKey(K) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAID
Sets the key
setKey(K) - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntity
Sets the key.
setMaxExtendCount(int) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
setMaxExtendCount(int) - Method in interface dk.heick.caching.LRUCachingMapConfiguration
How many times a "key"'s expire time is allowed to be extended.
setMaxSize(int) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
setMaxSize(int) - Method in interface dk.heick.caching.LRUCachingMapConfiguration
The maximum number of elements in a LRUCachingMap before "cleanup" is performed to reduce the map size.
setPersistedValuesInMemory(boolean) - Method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
 
setPersistedValuesInMemory(boolean) - Method in interface dk.heick.caching.LRUCachingMapConfiguration
If the values for persisted LRUCachingMaps should be held in memory or not.
If false the values for persisted storage will have to retrieved from persisted storage for each get, if true all values is held in memory as well, this will have an effect on your memory usage.
setStoredDateTime(Date) - Method in interface dk.heick.caching.persistences.jpa.CommonCachedJPAEntity
Sets the store date time.
setSubDirectoryCreator(SubDirectoryCreator) - Method in class dk.heick.caching.persistences.file.CachingDirectory
Sets the SubDirectoryCreator
setValue(V) - Method in class dk.heick.caching.memory.DefaultMemoryValueWrapper
Sets the value in memory.
setValue(V) - Method in interface dk.heick.caching.persistences.jpa.CommonCachedJPAEntity
Sets the value.
size() - Method in class dk.heick.caching.DefaultLRUCachingMap
 
size() - Method in interface dk.heick.caching.LRUCachingMap
The number of unique keys in the cache.
size() - Method in class dk.heick.caching.persistences.file.CachingDirectory
The number of files and directories in the directory, not resursive.
size() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
The number of rows in the table with the "group".
size() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
size() - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
The number of rows in the table
size() - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
storeFileValue(DefaultFileValueWrapper<String, V>, String, V) - Method in class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
This method shall the take the Value and stored it in a file given by the valueWrapper.
storeFileValue(DefaultFileValueWrapper<K, V>, K, V) - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
This method shall the take the Value and stored it in a file given by the valueWrapper.
storeFileValue(DefaultFileValueWrapper<K, V>, K, V) - Method in class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
This method shall the take the Value and stored it in a file given by the valueWrapper.
storeFileValue(DefaultFileValueWrapper<String, V>, String, V) - Method in class dk.heick.caching.persistences.file.serializable.DefaultFilenameSerializableFileValueManager
 
storeFileValue(DefaultFileValueWrapper<K, V>, K, V) - Method in class dk.heick.caching.persistences.file.serializable.DefaultIndexedSerializableFileValueManager
 
storeFileValue(DefaultFileValueWrapper<K, V>, K, V) - Method in class dk.heick.caching.persistences.file.serializable.DefaultKeyedSerializableFileValueManager
 
storeFileValue(DefaultFileValueWrapper<String, V>, String, V) - Method in class dk.heick.caching.persistences.file.xml.DefaultFilenameXmlFileValueManager
 
storeFileValue(DefaultFileValueWrapper<K, V>, K, V) - Method in class dk.heick.caching.persistences.file.xml.DefaultIndexedXmlFileValueManager
 
storeFileValue(DefaultFileValueWrapper<K, V>, K, V) - Method in class dk.heick.caching.persistences.file.xml.DefaultKeyedXmlFileValueManager
 
storeValue(AbstractValueWrapper<K, V>, K, V, Date) - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
storeValue(AbstractValueWrapper<String, V>, String, V, Date) - Method in class dk.heick.caching.persistences.file.AbstractFilenameFileValueManager
Stores the value and giving the ValueWrapper enough information to retrieve/remove it again.
storeValue(AbstractValueWrapper<K, V>, K, V, Date) - Method in class dk.heick.caching.persistences.file.AbstractIndexedFileValueManager
 
storeValue(AbstractValueWrapper<K, V>, K, V, Date) - Method in class dk.heick.caching.persistences.file.AbstractKeyedFileValueManager
 
storeValue(AbstractValueWrapper<String, File>, String, File, Date) - Method in class dk.heick.caching.persistences.file.reference.DefaultFilenameFileReferenceValueManager
 
storeValue(AbstractValueWrapper<K, V>, K, V, Date) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
 
storeValue(AbstractValueWrapper<K, V>, K, V, Date) - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
 
storeValue(AbstractValueWrapper<K, V>, K, V, Date) - Method in interface dk.heick.caching.ValueManager
Stores the value and giving the ValueWrapper enough information to retrieve/remove it again.
SubDirectoryCreator - Interface in dk.heick.caching.persistences.file.subdirectory
A interface for creating a subdirectory in the caching directory.
An instance of this interface is called in "CachingDirectory.getSubDirectory()".
substract(TimeSpan) - Method in class dk.heick.caching.utils.TimeSpan
Subtracts a TimeSpan value to the current in a new TimeSpan instance.
substract(TimeSpan, int) - Method in class dk.heick.caching.utils.TimeSpan
Subtracts a TimeSpan value, which is mulitiplied with a factor, to the current TimeSpan in a new TimeSpan instance.
substract(long) - Method in class dk.heick.caching.utils.TimeSpan
Subtracts a milliseconds value to the current TimeSpan in a new TimeSpan instance.

T

TEN_MINUTES() - Static method in class dk.heick.caching.DefaultLRUCachingMapConfiguration
Creates a new instance of DefaultLRUCachingMapConfiguration where the parameters is: expireTime : 10 minutes extendTime : 1 minute maxExtendCount : 5 maxSize : 5000 cleanupInterval : 2 minutes persistedValuesInMemory : true
terminate() - Method in class dk.heick.caching.utils.CleanupTimerRunnable
Terminates the run while loop.
TimeSpan - Class in dk.heick.caching.utils
TimeSpan holds a long value which a millisecond timespan in an immutable value class.
TimeSpan(long) - Constructor for class dk.heick.caching.utils.TimeSpan
Constructor, a name will be generated using the getParsableText() method.
TimeSpan(String, long) - Constructor for class dk.heick.caching.utils.TimeSpan
Constructor.
TimeSpan(String, long, long, long, long, long, long, long, long) - Constructor for class dk.heick.caching.utils.TimeSpan
Constructor using individual unit values.
TimeSpan(int, long, long, long, long, long, long, long) - Constructor for class dk.heick.caching.utils.TimeSpan
Constructor using individual unit values, a name will be generated using the getParsableText() method.
TimeSpanUnit - Enum in dk.heick.caching.utils
Unit enum for TimeSpan.
toMilliseconds() - Method in class dk.heick.caching.utils.TimeSpan
Gets the timespan as milliseconds, the same as "getSpan()".
toMilliSeconds(double) - Method in enum dk.heick.caching.utils.TimeSpanUnit
Converts the enum TimeSpanUnit into milliseconds.
toString() - Method in class dk.heick.caching.utils.TimeSpan
Returns the getParsableText() value.

U

UNIT_TIME_DAY - Static variable in class dk.heick.caching.utils.TimeSpan
 
UNIT_TIME_HOUR - Static variable in class dk.heick.caching.utils.TimeSpan
 
UNIT_TIME_MILLISECOND - Static variable in class dk.heick.caching.utils.TimeSpan
 
UNIT_TIME_MINUTE - Static variable in class dk.heick.caching.utils.TimeSpan
 
UNIT_TIME_MONTH - Static variable in class dk.heick.caching.utils.TimeSpan
 
UNIT_TIME_SECOND - Static variable in class dk.heick.caching.utils.TimeSpan
 
UNIT_TIME_WEEK - Static variable in class dk.heick.caching.utils.TimeSpan
 
UNIT_TIME_YEAR - Static variable in class dk.heick.caching.utils.TimeSpan
 
updateExpireTime(AbstractValueWrapper<K, V>, Date) - Method in class dk.heick.caching.memory.DefaultMemoryValueManager
 
updateExpireTime(AbstractValueWrapper<K, V>, Date) - Method in class dk.heick.caching.persistences.file.AbstractFileValueManager
 
updateExpireTime(K, Date) - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Update the "expireDateTime" column for a key on with the "group.
updateExpireTime(K, Date) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
updateExpireTime(AbstractValueWrapper<K, V>, Date) - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultGroupJPAEntityValueManager
 
updateExpireTime(K, Date) - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Update the "expireDateTime" column for a key.
updateExpireTime(K, Date) - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
updateExpireTime(AbstractValueWrapper<K, V>, Date) - Method in class dk.heick.caching.persistences.jpa.single.DefaultJPAEntityValueManager
 
updateExpireTime(AbstractValueWrapper<K, V>, Date) - Method in interface dk.heick.caching.ValueManager
Update the expiration date time for a value.

V

validate() - Method in class dk.heick.caching.persistences.file.CachingDirectory
Validates that this "instance" is valid.
validate() - Method in interface dk.heick.caching.persistences.jpa.grouped.CachedGroupJPAEntityRepository
Should validate that the "entityManagerFactory" is not null, the entity clazz is not null, and the group is not null or empty, or the entity clazz do not have a "@Entity" annotation.
validate() - Method in class dk.heick.caching.persistences.jpa.grouped.DefaultCachedGroupJPAEntityRepository
 
validate() - Method in interface dk.heick.caching.persistences.jpa.single.CachedJPAEntityRepository
Should validate that the "entityManagerFactory" is not null and the entity clazz is not null or the entity clazz do not have a "@Entity" annotation.
validate() - Method in class dk.heick.caching.persistences.jpa.single.DefaultCachedJPAEntityRepository
 
ValueManager<K,V> - Interface in dk.heick.caching
The interface ValueManagers, which handles how a Value (V) is stored.
valueOf(String) - Static method in enum dk.heick.caching.persistences.PersistencesRestoreMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum dk.heick.caching.utils.TimeSpanUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum dk.heick.caching.persistences.PersistencesRestoreMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum dk.heick.caching.utils.TimeSpanUnit
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEEKS_1 - Static variable in class dk.heick.caching.utils.TimeSpan
1 week - 7 days
WEEKS_2 - Static variable in class dk.heick.caching.utils.TimeSpan
2 weeks - 14 days
WEEKS_3 - Static variable in class dk.heick.caching.utils.TimeSpan
3 weeks - 21 days
WEEKS_4 - Static variable in class dk.heick.caching.utils.TimeSpan
4 weeks - 28 days
writeSerializableToFile(File, T) - Method in class dk.heick.caching.persistences.file.utils.SerializableUtils
Serialize a Ojbect "T" to a file.
writeSerializableToString(T) - Method in class dk.heick.caching.persistences.file.utils.SerializableUtils
Serialize a Ojbect "T" to a String - Base64 encoded.
writeXmlToFile(File, T) - Method in class dk.heick.caching.persistences.file.utils.XmlUtils
Writes a JAXB instance object to a file.
writeXmlToString(T) - Method in class dk.heick.caching.persistences.file.utils.XmlUtils
Writes a JAXB instance object to a String.

X

XmlUtils<T> - Class in dk.heick.caching.persistences.file.utils
Utility class for converting objects into XML and visa versa.
XmlUtils() - Constructor for class dk.heick.caching.persistences.file.utils.XmlUtils
Constructor.

Y

YEARS_1 - Static variable in class dk.heick.caching.utils.TimeSpan
1 year - 365 days
YEARS_10 - Static variable in class dk.heick.caching.utils.TimeSpan
10 years - 10x 365 days
YEARS_100 - Static variable in class dk.heick.caching.utils.TimeSpan
100 years - 100x 365 days
YEARS_2 - Static variable in class dk.heick.caching.utils.TimeSpan
2 years - 2x 365 days
YEARS_25 - Static variable in class dk.heick.caching.utils.TimeSpan
25 years - 25x 365 days
YEARS_3 - Static variable in class dk.heick.caching.utils.TimeSpan
3 years - 3x 365 days
YEARS_5 - Static variable in class dk.heick.caching.utils.TimeSpan
5 years - 5x 365 days
YEARS_50 - Static variable in class dk.heick.caching.utils.TimeSpan
50 years - 50x 365 days

Z

ZERO - Static variable in class dk.heick.caching.utils.TimeSpan
0 time
A C D E F G H I K L M N O P R S T U V W X Y Z 
Skip navigation links

Copyright © 2016. All rights reserved.