uk.ac.leeds.ccg.andyt.projects.genesis.core
Interface GENESIS_OutOfMemoryErrorHandlerInterface

All Known Implementing Classes:
GENESIS_AgentEnvironment, GENESIS_Environment, GENESIS_OutOfMemoryErrorHandler

public interface GENESIS_OutOfMemoryErrorHandlerInterface


Field Summary
static long serialVersionUID
           
 
Method Summary
 void init_MemoryReserve(boolean handleOutOfMemoryError)
          Initialises _MemoryReserve.
 boolean tryToEnsureThereIsEnoughMemoryToContinue(boolean handleOutOfMemoryError)
           
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

tryToEnsureThereIsEnoughMemoryToContinue

boolean tryToEnsureThereIsEnoughMemoryToContinue(boolean handleOutOfMemoryError)

init_MemoryReserve

void init_MemoryReserve(boolean handleOutOfMemoryError)
Initialises _MemoryReserve.

Parameters:
_HandleOutOfMemoryError - If true then OutOfMemoryErrors are caught, swap operations are initiated, then the method is re-called. If false then OutOfMemoryErrors are caught and thrown.