Nuxeo Enterprise Platform 5.4

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

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

public class ConversionCacheEntry
extends java.lang.Object

Represents an Entry in the ConversionService cache system.

Manages timestamp and persistence.

Author:
tiry

Constructor Summary
ConversionCacheEntry(BlobHolder bh)
           
 
Method Summary
 long getDiskSpaceUsageInKB()
           
 java.util.Date getLastAccessedTime()
           
 boolean persist(java.lang.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(java.lang.String basePath)
                throws java.lang.Exception
Throws:
java.lang.Exception

remove

public void remove()

restore

public BlobHolder restore()

getDiskSpaceUsageInKB

public long getDiskSpaceUsageInKB()

getLastAccessedTime

public java.util.Date getLastAccessedTime()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.