public final class ProcessorCache
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ProcessorCache.CacheCreationException  | 
static class  | 
ProcessorCache.Member
The sub-cache tha manages a certain type of Processor 
 | 
| Constructor and Description | 
|---|
ProcessorCache()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
decrementRef()  | 
<T extends ProcessorCache.Member>  | 
getCache(java.lang.Class<T> cacheClass)
Retrieve a specific named cache. 
 | 
void | 
incrementRef()  | 
static ProcessorCache | 
install(Context context)
Installs a generic cache into the  
Context. | 
ProcessorCache | 
installInstance(Context context)  | 
int | 
ref()  | 
static ProcessorCache | 
uninstall(Context context)
Removes a Processor cache from the  
Context. | 
ProcessorCache | 
uninstallInstance(Context context)  | 
public static final ProcessorCache install(Context context)
Context. This should only be done by a client that 'owns' the Context, or
 by a pass-through method that also has an opportunity to uninstall it.context - public static final ProcessorCache uninstall(Context context)
Context. This should only be done by a client that has previously
 installed it.context - public final ProcessorCache installInstance(Context context)
public final ProcessorCache uninstallInstance(Context context)
public final <T extends ProcessorCache.Member> T getCache(java.lang.Class<T> cacheClass) throws ProcessorCache.CacheCreationException
T - cacheClass - ProcessorCache.CacheCreationExceptionpublic int ref()
public void incrementRef()
public void decrementRef()