|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.caches.images.ImageTask
public class ImageTask
Represents some action being handled within the image cache: the retrieval of some image. This separates the cache-based actions from the image-based actions.
Method Summary | |
---|---|
void |
addDeletedFragment(to.etc.domui.caches.images.CachedImageFragment ii)
|
void |
addUsedFragment(to.etc.domui.caches.images.CachedImageFragment ii)
Register an image as recently-used. |
protected long |
getCurrentVersionLong()
If the version has not yet been retrieved for this task it gets retrieved; all calls following will use that version. |
java.util.List<to.etc.domui.caches.images.CachedImageFragment> |
getDeletedFragmentList()
|
java.lang.Object |
getFullImage(java.util.List<IImageConversionSpecifier> conversions)
|
to.etc.domui.caches.images.CachedImageData |
getImageData(IImageConversionSpecifier[] conversions)
|
to.etc.domui.caches.images.CachedImageData |
getImageData(java.util.List<IImageConversionSpecifier> conversions)
This is the main workhorse for the image cache. |
to.etc.domui.caches.images.CachedImageInfo |
getImageInfo(java.util.List<IImageConversionSpecifier> conversions)
|
ImageKey |
getKey()
|
to.etc.domui.caches.images.ImageRoot |
getRoot()
|
java.util.List<to.etc.domui.caches.images.CachedImageFragment> |
getUsedFragmentList()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ImageKey getKey()
public to.etc.domui.caches.images.ImageRoot getRoot()
protected long getCurrentVersionLong() throws java.lang.Exception
java.lang.Exception
public to.etc.domui.caches.images.CachedImageData getImageData(IImageConversionSpecifier[] conversions) throws java.lang.Exception
java.lang.Exception
public to.etc.domui.caches.images.CachedImageData getImageData(java.util.List<IImageConversionSpecifier> conversions) throws java.lang.Exception
cacheKey
- sir
- conversions
-
java.lang.Exception
public to.etc.domui.caches.images.CachedImageInfo getImageInfo(java.util.List<IImageConversionSpecifier> conversions) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getFullImage(java.util.List<IImageConversionSpecifier> conversions) throws java.lang.Exception
java.lang.Exception
public void addUsedFragment(@Nonnull to.etc.domui.caches.images.CachedImageFragment ii)
ii
- public void addDeletedFragment(@Nonnull to.etc.domui.caches.images.CachedImageFragment ii)
@Nonnull public java.util.List<to.etc.domui.caches.images.CachedImageFragment> getUsedFragmentList()
@Nonnull public java.util.List<to.etc.domui.caches.images.CachedImageFragment> getDeletedFragmentList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |