public class ContentCache extends java.lang.Object implements IContentCache, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CACHE_WORKSPACE_FOLDER_KEY |
static java.lang.String |
CACHE_WORKSPACE_MAX_SIZE_KEY |
static java.lang.String |
CACHE_WORKSPACE_MIN_KEEPING_TIME_KEY |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
static ContentCache |
create(java.util.Properties properties) |
java.io.File |
getFile(java.lang.String sessionToken,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation dataSetLocation,
DataSetPathInfo path) |
java.io.InputStream |
getInputStream(java.lang.String sessionToken,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation dataSetLocation,
DataSetPathInfo path) |
public static final java.lang.String CACHE_WORKSPACE_FOLDER_KEY
public static final java.lang.String CACHE_WORKSPACE_MAX_SIZE_KEY
public static final java.lang.String CACHE_WORKSPACE_MIN_KEEPING_TIME_KEY
public static ContentCache create(java.util.Properties properties)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic java.io.File getFile(java.lang.String sessionToken,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation dataSetLocation,
DataSetPathInfo path)
getFile in interface IContentCachepublic java.io.InputStream getInputStream(java.lang.String sessionToken,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation dataSetLocation,
DataSetPathInfo path)
getInputStream in interface IContentCache