org.terrier.utility
Interface MemoryChecker

All Known Implementing Classes:
RuntimeMemoryChecker

public interface MemoryChecker

Interface for various implementation which are used to determine if memory has been exhausted.

Since:
2.2
Author:
Craig Macdonald

Method Summary
 boolean checkMemory()
          Check the amount of available memory.
 void reset()
          Reset the flag, memory has been released
 

Method Detail

checkMemory

boolean checkMemory()
Check the amount of available memory. Returns true if memory is low


reset

void reset()
Reset the flag, memory has been released



Terrier 3.5. Copyright © 2004-2011 University of Glasgow