Package eu.stratosphere.nephele.services.memorymanager

Examples of eu.stratosphere.nephele.services.memorymanager.MemoryManager.shutdown()


    // last, verify all memory is returned and shutdown mem manager
    MemoryManager memMan = getMemoryManager();
    if (memMan != null) {
      Assert.assertTrue("Memory Manager managed memory was not completely freed.", memMan.verifyEmpty());
      memMan.shutdown();
    }
  }
 
  // --------------------------------------------------------------------------------------------
 
View Full Code Here


  public void shutdownMemoryManager() throws Exception {
    if (this.memorySize > 0) {
      MemoryManager memMan = getMemoryManager();
      if (memMan != null) {
        Assert.assertTrue("Memory Manager managed memory was not completely freed.", memMan.verifyEmpty());
        memMan.shutdown();
      }
    }
  }
}
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.