Skip navigation links
A B C D E G I L M P R S T U W 

A

Actionable - Annotation Type in io.rx_cache2
 
ActionsList<T> - Class in io.rx_cache2
Provides a set of actions in order to perform write operations on lists with providers in a more easy and safely way.
ActionsList(ActionsList.Evict<T>, Observable<List<T>>) - Constructor for class io.rx_cache2.ActionsList
 
ActionsList.Evict<T> - Interface in io.rx_cache2
 
ActionsList.Func1Count - Interface in io.rx_cache2
 
ActionsList.Func1Element<T> - Interface in io.rx_cache2
 
ActionsList.Func2 - Interface in io.rx_cache2
 
ActionsList.Func3<T> - Interface in io.rx_cache2
 
ActionsList.Replace<T> - Interface in io.rx_cache2
 
add(ActionsList.Func2, T) - Method in class io.rx_cache2.ActionsList
Func2 will be called for every iteration until its condition returns true.
addAll(ActionsList.Func2, List<T>) - Method in class io.rx_cache2.ActionsList
Func2 will be called for every iteration until its condition returns true.
addAllFirst(List<T>) - Method in class io.rx_cache2.ActionsList
Add the objects at the first position of the cache.
addAllLast(List<T>) - Method in class io.rx_cache2.ActionsList
Add the objects at the last position of the cache.
addFirst(T) - Method in class io.rx_cache2.ActionsList
Add the object at the first position of the cache.
addLast(T) - Method in class io.rx_cache2.ActionsList
Add the object at the last position of the cache.

B

Builder() - Constructor for class io.rx_cache2.internal.RxCache.Builder
 

C

cache - Variable in class io.rx_cache2.ActionsList
 
call(Observable<List<T>>) - Method in interface io.rx_cache2.ActionsList.Evict
 
call(int) - Method in interface io.rx_cache2.ActionsList.Func1Count
 
call(T) - Method in interface io.rx_cache2.ActionsList.Func1Element
 
call(int, int) - Method in interface io.rx_cache2.ActionsList.Func2
 
call(int, int, T) - Method in interface io.rx_cache2.ActionsList.Func3
 
call(T) - Method in interface io.rx_cache2.ActionsList.Replace
 

D

DynamicKey - Class in io.rx_cache2
Wrapper around the dynamicKey for those providers which need to handle multiple records, so they need to provide multiple keys, such us end points with pagination, ordering or filtering requirements
DynamicKey(Object) - Constructor for class io.rx_cache2.DynamicKey
 
DynamicKeyGroup - Class in io.rx_cache2
Wrapper around the key and the group for those providers which need to handle multiple records in sections, so they need to provide multiple keys organized in groups, such us end points with filtering AND pagination requirements
DynamicKeyGroup(Object, Object) - Constructor for class io.rx_cache2.DynamicKeyGroup
 

E

Encrypt - Annotation Type in io.rx_cache2
If sets, it will use the key passed as argument in EncryptKey in order to encrypt/decrypt the disk cache automatically by RxCache.
EncryptKey - Annotation Type in io.rx_cache2
If set, it will use the key passed as argument to encrypt/decrypt the disk cache automatically by RxCache for those providers that are annotate with Encrypt.
evict - Variable in class io.rx_cache2.ActionsList
 
evict(ActionsList.Func1Element<T>) - Method in class io.rx_cache2.ActionsList
Func1Element will be called for every iteration until its condition returns true.
evict(ActionsList.Func3<T>) - Method in class io.rx_cache2.ActionsList
Func3 will be called for every iteration until its condition returns true.
evictAll() - Method in class io.rx_cache2.ActionsList
Evict all elements from the cache
evictAll() - Method in class io.rx_cache2.internal.RxCache
 
evictAllKeepingFirstN(int) - Method in class io.rx_cache2.ActionsList
Evict elements from the cache starting from the first position until its count is equal to the value specified in n param.
evictAllKeepingLastN(int) - Method in class io.rx_cache2.ActionsList
Evict elements from the cache starting from the last position until its count is equal to the value specified in n param.
evictFirst() - Method in class io.rx_cache2.ActionsList
Evict object at the first position of the cache
evictFirst(ActionsList.Func1Count) - Method in class io.rx_cache2.ActionsList
Evict object at the first position of the cache.
evictFirstN(int) - Method in class io.rx_cache2.ActionsList
Evict as much objects as requested by n param starting from the first position.
evictFirstN(ActionsList.Func1Count, int) - Method in class io.rx_cache2.ActionsList
Evict as much objects as requested by n param starting from the first position.
evictIterable(ActionsList.Func3<T>) - Method in class io.rx_cache2.ActionsList
Func3 will be called for every iteration.
evictLast() - Method in class io.rx_cache2.ActionsList
Evict object at the last position of the cache.
evictLast(ActionsList.Func1Count) - Method in class io.rx_cache2.ActionsList
Evict object at the last position of the cache.
evictLastN(int) - Method in class io.rx_cache2.ActionsList
Evict as much objects as requested by n param starting from the last position.
evictLastN(ActionsList.Func1Count, int) - Method in class io.rx_cache2.ActionsList
Evict as much objects as requested by n param starting from the last position.
Expirable - Annotation Type in io.rx_cache2
RxCache has an automated process to evict any record when the threshold memory assigned to the persistence layer is close to reached, even if its life time has not been fulfilled.

G

getCacheDirectory() - Method in class io.rx_cache2.internal.RxCache.Builder
 
getDynamicKey() - Method in class io.rx_cache2.DynamicKey
 
getDynamicKey() - Method in class io.rx_cache2.DynamicKeyGroup
 
getEncryptKey(Class<?>) - Method in class io.rx_cache2.internal.ProxyProviders
 
getGroup() - Method in class io.rx_cache2.DynamicKeyGroup
 
getJolyglot() - Method in class io.rx_cache2.internal.RxCache.Builder
 
getMaxMBPersistenceCache() - Method in class io.rx_cache2.internal.RxCache.Builder
 
getMigrations(Class<?>) - Method in class io.rx_cache2.internal.ProxyProviders
 

I

invoke(Object, Method, Object[]) - Method in class io.rx_cache2.internal.ProxyProviders
 
io.rx_cache2 - package io.rx_cache2
 
io.rx_cache2.internal - package io.rx_cache2.internal
 

L

LifeCache - Annotation Type in io.rx_cache2
If set, it determines the period of time during which the associated cache will be exists.

M

Migration - Annotation Type in io.rx_cache2
A migration configuration.

P

persistence(File, JolyglotGenerics) - Method in class io.rx_cache2.internal.RxCache.Builder
Sets the File cache system and the implementation of JolyglotGenerics to serialise and deserialize objects
ProviderHelper - Class in io.rx_cache2
Helper class to build an Observable to evict all the data associated with a provider.
ProviderHelper() - Constructor for class io.rx_cache2.ProviderHelper
 
ProviderKey - Annotation Type in io.rx_cache2
Cache methods can be annotated with this annotation to provide the unique (provider) key that is used to cache the data in the memory.
ProxyProviders - Class in io.rx_cache2.internal
 
ProxyProviders(RxCache.Builder, Class<?>) - Constructor for class io.rx_cache2.internal.ProxyProviders
 
ProxyTranslator - Class in io.rx_cache2.internal
 

R

RxCache - Class in io.rx_cache2.internal
 
RxCache.Builder - Class in io.rx_cache2.internal
Builder for building an specific RxCache instance

S

SchemeMigration - Annotation Type in io.rx_cache2
Set of migrations to be performed in order to guaranty data integrity between releases if data model changes has been performed.
setMaxMBPersistenceCache(Integer) - Method in class io.rx_cache2.internal.RxCache.Builder
Sets the max memory in megabytes for all stored records on persistence layer If not supplied, 100 megabytes will be the default option

T

toObservable() - Method in class io.rx_cache2.ActionsList
 

U

update(ActionsList.Func1Element<T>, ActionsList.Replace<T>) - Method in class io.rx_cache2.ActionsList
Func1Element will be called for every iteration until its condition returns true.
update(ActionsList.Func3<T>, ActionsList.Replace<T>) - Method in class io.rx_cache2.ActionsList
Func3 will be called for every iteration until its condition returns true.
updateIterable(ActionsList.Func1Element<T>, ActionsList.Replace<T>) - Method in class io.rx_cache2.ActionsList
Func1Element will be called for every.
updateIterable(ActionsList.Func3<T>, ActionsList.Replace<T>) - Method in class io.rx_cache2.ActionsList
Func3 will be called for every iteration.
useExpiredDataIfLoaderNotAvailable(boolean) - Method in class io.rx_cache2.internal.RxCache.Builder
If true RxCache will serve Records already expired, instead of evict them and throw an exception If not supplied, false will be the default option
useExpiredDataIfLoaderNotAvailable() - Method in class io.rx_cache2.internal.RxCache.Builder
 
using(Class<T>) - Method in class io.rx_cache2.internal.RxCache
 

W

with(ActionsList.Evict<T>, Observable<List<T>>) - Static method in class io.rx_cache2.ActionsList
Static accessor to create an instance of Actions in order follow the "builder" pattern.
withoutLoader() - Static method in class io.rx_cache2.ProviderHelper
Create an Observable to provide a placeholder to #1 obtain the cached data when the source loader is not available #2 evict all the data associated with a provider
A B C D E G I L M P R S T U W 
Skip navigation links