Examples of FixableCacheEntry


Examples of org.objectweb.perseus.cache.api.FixableCacheEntry

            throw new JDOException("Error during the eviction of an entry: ", e);
        }
    }
   
    public void pin(Object oid) {
        FixableCacheEntry ce = (FixableCacheEntry) cacheManager.lookup(oid);
        if (ce != null && ce.getCeFixCount() == 0) {
            try {
                cacheManager.fix(ce);
            } catch (CacheException e) {
                logger.log(BasicLevel.WARN, "Impossible to pin the persistent class: ", e);
            }
View Full Code Here

Examples of org.objectweb.perseus.cache.api.FixableCacheEntry

    public void pinAll(Object[] oids) {
        pinAll(Arrays.asList(oids));
    }
   
    public void unpin(Object oid) {
        FixableCacheEntry ce = (FixableCacheEntry) cacheManager.lookup(oid);
        if (ce != null && ce.getCeFixCount() == 0) {
            try {
                cacheManager.unfix(ce);
            } catch (CacheException e) {
                logger.log(BasicLevel.WARN, "Impossible to pin the persistent class: ", e);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.