public class ConversionCacheEntry extends Object
ConversionService cache system.
 Manages timestamp and persistence.
| Modifier and Type | Field and Description | 
|---|---|
protected BlobHolder | 
bh  | 
protected Date | 
lastAccessTime  | 
protected boolean | 
persisted  | 
protected String | 
persistPath  | 
protected long | 
sizeInKB  | 
| Constructor and Description | 
|---|
ConversionCacheEntry(BlobHolder bh)  | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getDiskSpaceUsageInKB()  | 
Date | 
getLastAccessedTime()  | 
boolean | 
persist(String basePath)  | 
void | 
remove()  | 
BlobHolder | 
restore()  | 
protected void | 
updateAccessTime()  | 
protected Date lastAccessTime
protected BlobHolder bh
protected boolean persisted
protected String persistPath
protected long sizeInKB
public ConversionCacheEntry(BlobHolder bh)
protected void updateAccessTime()
public boolean persist(String basePath) throws IOException
IOExceptionpublic void remove()
public BlobHolder restore()
public long getDiskSpaceUsageInKB()
public Date getLastAccessedTime()
Copyright © 2019 Nuxeo. All rights reserved.