Package org.directmemory.impl

Examples of org.directmemory.impl.SimpleCacheSupervisor


  public static void main(String[] args) throws Exception {
    int cacheSize = 100*1024*1024;

//    belowLimit(cacheSize, new NoopCacheSupervisor());
//    aboveLimit(cacheSize, new NoopCacheSupervisor());
    belowLimit(cacheSize, new SimpleCacheSupervisor());
    aboveLimit(cacheSize, new SimpleCacheSupervisor());
     
//   
//    Thread last = null;
//   
//      for (int i = 0; i < 10; i++) {
View Full Code Here


 
  @Test
  public void fillUpTest() throws IOException, ClassNotFoundException {
    int cacheSize = 50*1024*1024;

    belowLimit(cacheSize, new SimpleCacheSupervisor());
    aboveLimit(cacheSize, new SimpleCacheSupervisor());
  }
View Full Code Here

TOP

Related Classes of org.directmemory.impl.SimpleCacheSupervisor

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.