Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class ConversionCacheHolder
extends Object

Manager for the cache system of the ConversionService.

Author:
tiry

Field Summary
static long cacheHits
           
static int nbSubPathPart
           
static int subPathPartSize
           
 
Method Summary
static void addToCache(String key, BlobHolder result)
           
static ConversionCacheEntry getCacheEntry(String key)
           
static long getCacheHits()
           
static Set<String> getCacheKeys()
           
static BlobHolder getFromCache(String key)
           
static int getNbCacheEntries()
           
static void removeFromCache(String key)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nbSubPathPart

public static int nbSubPathPart

subPathPartSize

public static int subPathPartSize

cacheHits

public static long cacheHits
Method Detail

getCacheHits

public static long getCacheHits()

getNbCacheEntries

public static int getNbCacheEntries()

addToCache

public static void addToCache(String key,
                              BlobHolder result)

removeFromCache

public static void removeFromCache(String key)

getCacheEntry

public static ConversionCacheEntry getCacheEntry(String key)

getFromCache

public static BlobHolder getFromCache(String key)

getCacheKeys

public static Set<String> getCacheKeys()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.