ch.systemsx.cisd.openbis.dss.generic.shared.content
Class ContentCache
java.lang.Object
ch.systemsx.cisd.openbis.dss.generic.shared.content.ContentCache
- All Implemented Interfaces:
- IContentCache, org.springframework.beans.factory.InitializingBean
public class ContentCache
- extends java.lang.Object
- implements IContentCache, org.springframework.beans.factory.InitializingBean
Cache for files remotely retrieved from Data Store Servers.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_WORKSPACE_FOLDER_KEY
public static final java.lang.String CACHE_WORKSPACE_FOLDER_KEY
- See Also:
- Constant Field Values
CACHE_WORKSPACE_MAX_SIZE_KEY
public static final java.lang.String CACHE_WORKSPACE_MAX_SIZE_KEY
- See Also:
- Constant Field Values
CACHE_WORKSPACE_MIN_KEEPING_TIME_KEY
public static final java.lang.String CACHE_WORKSPACE_MIN_KEEPING_TIME_KEY
- See Also:
- Constant Field Values
create
public static ContentCache create(java.util.Properties properties)
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
getFile
public java.io.File getFile(java.lang.String sessionToken,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation dataSetLocation,
DataSetPathInfo path)
- Specified by:
getFile
in interface IContentCache
getInputStream
public java.io.InputStream getInputStream(java.lang.String sessionToken,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation dataSetLocation,
DataSetPathInfo path)
- Specified by:
getInputStream
in interface IContentCache