Examples of MemoryElementDescriptor


Examples of org.apache.stratum.jcs.engine.memory.MemoryElementDescriptor

        log.debug( "dumpingMap" );
        for ( Iterator itr = map.entrySet().iterator(); itr.hasNext())
        {
            //for ( Iterator itr = memCache.getIterator(); itr.hasNext();) {
            Map.Entry e = ( Map.Entry ) itr.next();
            MemoryElementDescriptor me = ( MemoryElementDescriptor ) e.getValue();
            log.debug( "dumpMap> key=" + e.getKey() + ", val=" + me.ce.getVal() );
        }
    }
View Full Code Here

Examples of org.apache.stratum.jcs.engine.memory.MemoryElementDescriptor

            java.util.Iterator itr = cache.getIterator();

            while ( itr.hasNext() )
            {
                Map.Entry e = ( Map.Entry ) itr.next();
                MemoryElementDescriptor me = ( MemoryElementDescriptor ) e.getValue();

                long now = System.currentTimeMillis();

                // Memory idle, to disk shrinkage
                if ( cache.getCacheAttributes().getMaxMemoryIdleTimeSeconds() != -1 )
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.