Package org.objectweb.perseus.cache.api

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


                State s = tx.lookup(pn);
                if (s != null && s != VirtualState.instance) {
                    return s.getCacheEntry();
                } else {
                    //Fetch an instance (new or from the cache)
                    CacheEntry ce = tpm.getObjectById(tx, pn);
                    //clear the state
                    tpm.refresh(tx, ce);
                    //if it exists then object loading else exception
                    tpm.readIntention(tx, ce, null);
                    return ce;
View Full Code Here

TOP

Related Classes of org.objectweb.perseus.cache.api.CacheEntry

Copyright © 2018 www.massapicom. 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.