org.gcube.application.framework.contentmanagement.cache.factories
Class ThumbnailCacheEntryFactory
java.lang.Object
org.gcube.application.framework.contentmanagement.cache.factories.ThumbnailCacheEntryFactory
- All Implemented Interfaces:
- net.sf.ehcache.constructs.blocking.CacheEntryFactory
public class ThumbnailCacheEntryFactory
- extends Object
- implements net.sf.ehcache.constructs.blocking.CacheEntryFactory
- Author:
- Rena Tsantouli - Dimitris Katris (NKUA)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.gcube.common.core.utils.logging.GCUBELog logger
- Object logger.
thumbId
protected static AtomicInteger thumbId
thumbnailsRootPath
protected static final String thumbnailsRootPath
- See Also:
- Constant Field Values
ThumbnailCacheEntryFactory
public ThumbnailCacheEntryFactory()
createEntry
public Object createEntry(Object key)
throws Exception
- Specified by:
createEntry in interface net.sf.ehcache.constructs.blocking.CacheEntryFactory
- Throws:
Exception
getThumbnail
public byte[] getThumbnail(String srcObjectID,
int width,
int height,
String[] thumbOptions,
String scope)
throws Exception
- Throws:
Exception
searchForExistingThumbnail
public String searchForExistingThumbnail(String srcObjectURI,
int width,
int height,
String[] thumbOptions,
String scope)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.