public class NamedProfileCache extends SoftReferenceCache
map
Constructor and Description |
---|
NamedProfileCache()
Let people create there own caches.
|
Modifier and Type | Method and Description |
---|---|
void |
clear(String profileName)
Clear the entry for String.
|
static NamedProfileCache |
getDefaultCache() |
boolean |
isDone(String profileName)
Check if request(profileName) will return immediately with the
ICCColorSpaceExt.
|
boolean |
isPresent(String profileName)
Check if request(profileName) will return with a ICCColorSpaceExt
(not putting you on the hook for it).
|
void |
put(String profileName,
ICCColorSpaceExt bi)
Associate bi with profileName.
|
ICCColorSpaceExt |
request(String profileName)
If this returns null then you are now 'on the hook'.
|
clearImpl, flush, isDoneImpl, isPresentImpl, putImpl, requestImpl
public static NamedProfileCache getDefaultCache()
public boolean isPresent(String profileName)
public boolean isDone(String profileName)
public ICCColorSpaceExt request(String profileName)
public void clear(String profileName)
public void put(String profileName, ICCColorSpaceExt bi)
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.