public class PictureTilingCacheInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SHRINK_DOWN_LIMIT_PX |
Constructor and Description |
---|
PictureTilingCacheInfo(String cacheKey,
String workingDir,
String filePath) |
Modifier and Type | Method and Description |
---|---|
void |
addPictureTilesToCache(PictureTiles tiles) |
void |
cleanUp() |
ImageInfo |
getBestSourceImage(int tileWidth,
int tileHeight,
int maxTiles) |
PictureTiles |
getCachedPictureTiles(int tileWidth,
int tileHeight,
int maxTiles) |
long |
getDiskSpaceUsageInBytes() |
Date |
getLastAccessedTime() |
ImageInfo |
getOriginalPictureInfos() |
String |
getOriginalPicturePath() |
String |
getTilingDir(int tileWidth,
int tileHeight,
int maxTiles) |
String |
getWorkingDir() |
void |
partialCleanUp(long targetDeltaInKB) |
public Date getLastAccessedTime()
public long getDiskSpaceUsageInBytes()
public void addPictureTilesToCache(PictureTiles tiles)
public PictureTiles getCachedPictureTiles(int tileWidth, int tileHeight, int maxTiles)
public String getWorkingDir()
public String getOriginalPicturePath()
public String getTilingDir(int tileWidth, int tileHeight, int maxTiles)
public ImageInfo getBestSourceImage(int tileWidth, int tileHeight, int maxTiles)
public ImageInfo getOriginalPictureInfos()
public void cleanUp()
public void partialCleanUp(long targetDeltaInKB)
Copyright © 2011 Nuxeo SA. All Rights Reserved.