Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.convert.cache
Class ConversionCacheEntry

java.lang.Object
  extended by org.nuxeo.ecm.core.convert.cache.ConversionCacheEntry

public class ConversionCacheEntry
extends Object

Represents an Entry in the ConversionService cache system.

Manages timestamp and persistence.

Author:
tiry

Constructor Summary
ConversionCacheEntry(BlobHolder bh)
           
 
Method Summary
 long getDiskSpaceUsageInKB()
           
 Date getLastAccessedTime()
           
 boolean persist(String basePath)
           
 void remove()
           
 BlobHolder restore()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionCacheEntry

public ConversionCacheEntry(BlobHolder bh)
Method Detail

persist

public boolean persist(String basePath)
                throws Exception
Throws:
Exception

remove

public void remove()

restore

public BlobHolder restore()

getDiskSpaceUsageInKB

public long getDiskSpaceUsageInKB()

getLastAccessedTime

public Date getLastAccessedTime()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.