Class ConversionCacheEntry

java.lang.Object
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
  • Field Details

    • lastAccessTime

      protected Date lastAccessTime
    • bh

      protected BlobHolder bh
    • persisted

      protected boolean persisted
    • persistPath

      protected String persistPath
    • sizeInKB

      protected long sizeInKB
  • Constructor Details

    • ConversionCacheEntry

      public ConversionCacheEntry(BlobHolder bh)
  • Method Details

    • updateAccessTime

      protected void updateAccessTime()
    • persist

      public boolean persist(String basePath) throws IOException
      Throws:
      IOException
    • remove

      public void remove()
    • restore

      public BlobHolder restore()
    • getDiskSpaceUsageInKB

      public long getDiskSpaceUsageInKB()
    • getLastAccessedTime

      public Date getLastAccessedTime()