public class S3FileCacheImpl extends java.lang.Object implements S3FileCache
| Constructor and Description |
|---|
S3FileCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
cleanUpCacheFiles() |
protected void |
cleanUpCacheFiles(java.io.File file,
long lastModified) |
protected void |
deactivate() |
protected java.lang.String |
getCacheDirName() |
java.io.File |
getCacheFile(com.amazonaws.services.s3.model.S3Object s3Object,
java.lang.String fileName) |
protected void |
setS3KeyTransformer(S3KeyTransformer s3KeyTransformer) |
public void cleanUpCacheFiles()
cleanUpCacheFiles in interface S3FileCachepublic java.io.File getCacheFile(com.amazonaws.services.s3.model.S3Object s3Object,
java.lang.String fileName)
throws java.io.IOException
getCacheFile in interface S3FileCachejava.io.IOExceptionprotected void activate(java.util.Map<java.lang.String,java.lang.Object> properties)
protected void cleanUpCacheFiles(java.io.File file,
long lastModified)
protected void deactivate()
protected java.lang.String getCacheDirName()
protected void setS3KeyTransformer(S3KeyTransformer s3KeyTransformer)