Examples of scheduleGc()


Examples of org.talend.esb.monitoring.hq.DynamicMxFieldMeasurementPlugin.TrivialCache.scheduleGc()

    TrivialCache tc = new TrivialCache();
   
    tc.put(key1, val1);
    tc.put(key2, val2);
   
    tc.scheduleGc(1000);
   
    Thread.sleep(1050);
   
    tc.get(key1);
   
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.