Skip navigation links
A B C D E F G P R S T V W 

A

agentmain(String, Instrumentation) - Static method in class com.SimplCache.Utilities.SizeOfObject
 

B

build() - Method in class com.SimplCache.Models.SimplCache.SimplCacheBuilder
This method builds and return SimplCache Object
buildFromSaveState(String, CacheDB<T>, PersistentDB<T>) - Static method in class com.SimplCache.Models.SimplCache
This method is used to build the SimplCache object from the string returned by the save state function.
buildFromSaveState(String, CacheDB<T>, PersistentDB<T>, SimplCacheEncryptor) - Static method in class com.SimplCache.Models.SimplCache
This method is used to build the SimplCache object from the string returned by the save state function.

C

CacheDB<T> - Interface in com.SimplCache.DatabaseInterfaces
 
clearCache() - Method in interface com.SimplCache.DatabaseInterfaces.CacheDB
 
close(SimplCache.WRITEBACKPARAMETER) - Method in class com.SimplCache.Models.SimplCache
This method is used to close all the threads started by the SimplCache object.
closeDB() - Method in interface com.SimplCache.DatabaseInterfaces.CacheDB
 
closeDB() - Method in interface com.SimplCache.DatabaseInterfaces.PersistentDB
 
com.SimplCache.DatabaseInterfaces - package com.SimplCache.DatabaseInterfaces
 
com.SimplCache.Exceptions - package com.SimplCache.Exceptions
 
com.SimplCache.Models - package com.SimplCache.Models
 
com.SimplCache.Utilities - package com.SimplCache.Utilities
 

D

decrypt(String) - Method in interface com.SimplCache.Models.SimplCacheEncryptor
 

E

encrypt(String) - Method in interface com.SimplCache.Models.SimplCacheEncryptor
 

F

flush(SimplCache.WRITEBACKPARAMETER) - Method in class com.SimplCache.Models.SimplCache
This method is used to empty the cache.

G

get(String) - Method in class com.SimplCache.Models.SimplCache
This method is used fetch the cache object from cache.
getCacheMemoryType() - Method in class com.SimplCache.Models.SimplCache
This methods return the type of cache memory is used to maintain the cache.
getCacheSize() - Method in class com.SimplCache.Models.SimplCache
This method return the maximum cache memory size set to the simplcache object.
getCacheTimeLimit() - Method in class com.SimplCache.Models.SimplCache
This method return the time limit set on each cache item when the time eviction policy is enabled.
getCacheType() - Method in class com.SimplCache.Models.SimplCache
This method return the type of cache set to the simplcache object
getCurrentCacheSize() - Method in class com.SimplCache.Models.SimplCache
This method return the current size of the cache.
getEvictionType() - Method in class com.SimplCache.Models.SimplCache
This method return the type of eviction policy set to the simplcache object
getValueFromCacheDB(String) - Method in interface com.SimplCache.DatabaseInterfaces.CacheDB
 
getValueFromPersistentDB(String) - Method in interface com.SimplCache.DatabaseInterfaces.PersistentDB
 

P

PersistentDB<T> - Interface in com.SimplCache.DatabaseInterfaces
 
premain(String, Instrumentation) - Static method in class com.SimplCache.Utilities.SizeOfObject
 
put(String, T) - Method in class com.SimplCache.Models.SimplCache
This method is used to put the object in cache according to the cache type and eviction policies.
put(String, T, SimplCache.POLICY_CONTROL) - Method in class com.SimplCache.Models.SimplCache
This method is used to put the object in cache and also into the persistentDB according to the cache type and eviction policies.
putValueInCacheDB(String, T) - Method in interface com.SimplCache.DatabaseInterfaces.CacheDB
 
putValueinPersistentDB(String, T) - Method in interface com.SimplCache.DatabaseInterfaces.PersistentDB
 
putWriteThrough(String, T) - Method in class com.SimplCache.Models.WriteThroughPolicy
 

R

removeValueFromCacheDB(String) - Method in interface com.SimplCache.DatabaseInterfaces.CacheDB
 

S

saveState() - Method in class com.SimplCache.Models.SimplCache
This method is used to save the state of the keys present in the cache.
saveState(SimplCacheEncryptor) - Method in class com.SimplCache.Models.SimplCache
This method is used to save the state of the keys present in the cache.
SaveStateException - Exception in com.SimplCache.Exceptions
 
SaveStateException(String) - Constructor for exception com.SimplCache.Exceptions.SaveStateException
 
setCacheMemoryProperties(SimplCache.MEMORY_TYPES, long) - Method in class com.SimplCache.Models.SimplCache.SimplCacheBuilder
This method is used set the cache memory type.
setCacheType(SimplCache.CACHE_TYPES) - Method in class com.SimplCache.Models.SimplCache.SimplCacheBuilder
This methode is used to set the type of cache.
setEvictionPolicy(SimplCache.EVICTION_TYPES) - Method in class com.SimplCache.Models.SimplCache.SimplCacheBuilder
This method is used to set the eviction policy There are two types of policy: LRU_EVICTION: Least recently used cache object is evicted TIME_EVICTION: The cache object is evicted after given time limit.
setTimeEvictionInterval(long, TimeUnit) - Method in class com.SimplCache.Models.SimplCache.SimplCacheBuilder
This method is used to set time interval after which cache object is evicted from the cache.
setWriteBackInterval(long, TimeUnit) - Method in class com.SimplCache.Models.SimplCache.SimplCacheBuilder
This method is used to set the interval at which automated write back occurs.
SimplCache<T> - Class in com.SimplCache.Models
 
SimplCache.CACHE_TYPES - Enum in com.SimplCache.Models
 
SimplCache.EVICTION_TYPES - Enum in com.SimplCache.Models
 
SimplCache.MEMORY_TYPES - Enum in com.SimplCache.Models
 
SimplCache.POLICY_CONTROL - Enum in com.SimplCache.Models
 
SimplCache.SimplCacheBuilder<T> - Class in com.SimplCache.Models
 
SimplCache.WRITE_BACK_TYPE - Enum in com.SimplCache.Models
 
SimplCache.WRITEBACKPARAMETER - Enum in com.SimplCache.Models
 
SimplCacheBuilder(CacheDB<T>, PersistentDB<T>) - Constructor for class com.SimplCache.Models.SimplCache.SimplCacheBuilder
This method is used to build the SimplCache object.
SimplCacheEncryptor - Interface in com.SimplCache.Models
 
sizeof(Object) - Static method in class com.SimplCache.Utilities.SizeOfObject
 
SizeOfObject - Class in com.SimplCache.Utilities
 
SizeOfObject() - Constructor for class com.SimplCache.Utilities.SizeOfObject
 

T

toString() - Method in class com.SimplCache.Models.SimplCache.SimplCacheBuilder
 

V

valueOf(String) - Static method in enum com.SimplCache.Models.SimplCache.CACHE_TYPES
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.SimplCache.Models.SimplCache.EVICTION_TYPES
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.SimplCache.Models.SimplCache.MEMORY_TYPES
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.SimplCache.Models.SimplCache.POLICY_CONTROL
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.SimplCache.Models.SimplCache.WRITE_BACK_TYPE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.SimplCache.Models.SimplCache.WRITEBACKPARAMETER
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.SimplCache.Models.SimplCache.CACHE_TYPES
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.SimplCache.Models.SimplCache.EVICTION_TYPES
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.SimplCache.Models.SimplCache.MEMORY_TYPES
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.SimplCache.Models.SimplCache.POLICY_CONTROL
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.SimplCache.Models.SimplCache.WRITE_BACK_TYPE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.SimplCache.Models.SimplCache.WRITEBACKPARAMETER
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeBack() - Method in class com.SimplCache.Models.SimplCache
This method is used to write the cache items into persistentDB whenever required.
WriteThroughPolicy<T> - Class in com.SimplCache.Models
 
WriteThroughPolicy(PersistentDB<T>) - Constructor for class com.SimplCache.Models.WriteThroughPolicy
 
A B C D E F G P R S T V W 
Skip navigation links

Copyright © 2020. All rights reserved.