|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.generic.memory.Generic_OutOfMemoryErrorHandler uk.ac.leeds.ccg.andyt.grids.core.Grids_OutOfMemoryErrorHandler uk.ac.leeds.ccg.andyt.grids.core.Grids_Environment
public class Grids_Environment
Field Summary | |
---|---|
protected java.util.HashSet<AbstractGrid2DSquareCell> |
_AbstractGrid2DSquareCell_HashSet
A HashSet of AbstractGrid2DSquareCell objects that have data that can be swapped to release memory for processing. |
protected java.io.File |
_Directory
Local _Directory used for caching. |
protected boolean |
dataToSwap
|
Fields inherited from class uk.ac.leeds.ccg.andyt.grids.core.Grids_OutOfMemoryErrorHandler |
---|
Memory_Threshold |
Fields inherited from class uk.ac.leeds.ccg.andyt.generic.memory.Generic_OutOfMemoryErrorHandler |
---|
_Generic_TestMemory, _HandleOutOfMemoryError_boolean, _MemoryReserve, Default_Memory_Threshold, HandleOutOfMemoryErrorFalse, HandleOutOfMemoryErrorTrue |
Constructor Summary | |
---|---|
Grids_Environment()
|
Method Summary | |
---|---|
static void |
combine(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> toGetCombined,
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> toCombine)
Modifies toGetCombined by adding all mapping from toCombine if they have new keys. |
java.util.HashSet<AbstractGrid2DSquareCell> |
get_AbstractGrid2DSquareCell_HashSet()
|
uk.ac.leeds.ccg.andyt.generic.math.Generic_BigDecimal |
get_Generic_BigDecimal()
|
protected void |
init_AbstractGrid2DSquareCell_HashSet()
Initialises _AbstractGrid2DSquareCell_HashSet
if ( this._AbstractGrid2DSquareCell_HashSet == null ) {
this._AbstractGrid2DSquareCell_HashSet = new HashSet |
protected void |
init_AbstractGrid2DSquareCell_HashSet(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet)
Initialises _AbstractGrid2DSquareCell_HashSet
if ( this._AbstractGrid2DSquareCell_HashSet == null ) {
this._AbstractGrid2DSquareCell_HashSet = a_AbstractGrid2DSquareCell_HashSet;
} else {
//System.err.println( this.getClass().getName() + ".init_AbstractGrid2DSquareCell_HashSet(HashSet)" );
if ( a_AbstractGrid2DSquareCell_HashSet == null ) { // Debug
this._AbstractGrid2DSquareCell_HashSet = new HashSet();
} else {
this._AbstractGrid2DSquareCell_HashSet = a_AbstractGrid2DSquareCell_HashSet;
}
}
|
protected void |
init_Grid2DSquareCells_MemoryReserve(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet)
|
void |
init_Grid2DSquareCells_MemoryReserve(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet,
boolean handleOutOfMemoryError)
|
long |
init_MemoryReserve_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
|
long |
init_MemoryReserve_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
|
long |
init_MemoryReserve_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
|
long |
init_MemoryReserve_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet,
boolean handleOutOfMemoryError)
|
long |
init_MemoryReserve_Account(boolean handleOutOfMemoryError)
|
long |
init_MemoryReserve_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap,
boolean handleOutOfMemoryError)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet,
boolean handleOutOfMemoryError)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
init_MemoryReserve_AccountDetail(boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
init_MemoryReserve_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap,
boolean handleOutOfMemoryError)
|
void |
init_MemoryReserve(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
void |
init_MemoryReserve(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
void |
init_MemoryReserve(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
void |
init_MemoryReserve(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet,
boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
void |
init_MemoryReserve(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap,
boolean handleOutOfMemoryError)
Initialises _MemoryReserve. |
boolean |
isDataToSwap()
|
protected void |
set_AbstractGrid2DSquareCell_HashSet(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet)
this._AbstractGrid2DSquareCell_HashSet = a_AbstractGrid2DSquareCell_HashSet; |
void |
set_AbstractGrid2DSquareCell_HashSet(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet,
boolean handleOutOfMemoryError)
Sets this._AbstractGrid2DSquareCell_HashSet to _AbstractGrid2DSquareCell_HashSet |
void |
setGeneric_BigDecimal(uk.ac.leeds.ccg.andyt.generic.math.Generic_BigDecimal a_Generic_BigDecimal)
|
void |
swapToFile_Data()
|
void |
swapToFile_Data(boolean handleOutOfMemoryError)
|
boolean |
swapToFile_DataAny()
|
boolean |
swapToFile_DataAny(boolean handleOutOfMemoryError)
|
protected long |
swapToFile_Grid2DSquareCellChunk_Account()
|
long |
swapToFile_Grid2DSquareCellChunk_Account(boolean handleOutOfMemoryError)
|
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunk_AccountDetail()
Attempts to swap any AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunk_AccountDetail(boolean handleOutOfMemoryError)
Attempts to swap any AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
protected boolean |
swapToFile_Grid2DSquareCellChunk()
Attempts to swap any AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
void |
swapToFile_Grid2DSquareCellChunk(boolean handleOutOfMemoryError)
|
protected long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
|
protected long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell)
|
protected long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
|
long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
|
protected long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
|
long |
swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet,
boolean handleOutOfMemoryError)
|
protected long |
swapToFile_Grid2DSquareCellChunkExcept_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
|
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
|
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell)
|
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
|
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkIDHashSet,
boolean handleOutOfMemoryError)
|
protected void |
swapToFile_Grid2DSquareCellChunkExcept(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
protected boolean |
swapToFile_Grid2DSquareCellChunkExcept(AbstractGrid2DSquareCell a_AbstractGrid2DSquareCell)
Swap to File any AbstractGrid2DSquareCell.Chunk in this._AbstractGrid2DSquareCell_HashSet except one in a_AbstractGrid2DSquareCell. |
void |
swapToFile_Grid2DSquareCellChunkExcept(AbstractGrid2DSquareCell a_AbstractGrid2DSquareCell,
boolean handleOutOfMemoryError)
Swap to File any AbstractGrid2DSquareCell.Chunk in this._AbstractGrid2DSquareCell_HashSet except one in a_AbstractGrid2DSquareCell. |
protected void |
swapToFile_Grid2DSquareCellChunkExcept(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
|
protected long |
swapToFile_Grid2DSquareCellChunks_Account()
Attempts to swap all AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
long |
swapToFile_Grid2DSquareCellChunks_Account(boolean handleOutOfMemoryError)
Attempts to swap all AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunks_AccountDetail()
Attempts to swap all AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunks_AccountDetail(boolean handleOutOfMemoryError)
Attempts to swap all AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
protected boolean |
swapToFile_Grid2DSquareCellChunks()
Attempts to swap all AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
void |
swapToFile_Grid2DSquareCellChunks(boolean handleOutOfMemoryError)
Attempts to swap all AbstractGrid2DSquareCellChunk in this._AbstractGrid2DSquareCell_HashSet. |
protected long |
swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell)
|
protected long |
swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
long |
swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
|
long |
swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
|
protected long |
swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
Attempts to Swap all AbstractGrid2DSquareCell.ChunkIDs in this._AbstractGrid2DSquareCell_HashSet except those with AbstractGrid2DSquareCell.ChunkIDs in a_ChunkID_HashSet. |
protected long |
swapToFile_Grid2DSquareCellChunksExcept_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
|
long |
swapToFile_Grid2DSquareCellChunksExcept_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap,
boolean handleOutOfMemoryError)
|
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
Attempts to Swap all AbstractGrid2DSquareCell.ChunkIDs in this._AbstractGrid2DSquareCell_HashSet except those with AbstractGrid2DSquareCell.ChunkID _ChunkID. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
Attempts to Swap all AbstractGrid2DSquareCell.ChunkIDs in this._AbstractGrid2DSquareCell_HashSet except those with AbstractGrid2DSquareCell.ChunkID _ChunkID. |
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell)
Attempts to Swap all AbstractGrid2DSquareCell.ChunkIDs in this._AbstractGrid2DSquareCell_HashSet except those with AbstractGrid2DSquareCell.ChunkID _ChunkID. |
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID)
Attempts to Swap all AbstractGrid2DSquareCell.ChunkIDs in this._AbstractGrid2DSquareCell_HashSet except those with AbstractGrid2DSquareCell.ChunkID _ChunkID. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
Attempts to Swap all AbstractGrid2DSquareCell.ChunkIDs in this._AbstractGrid2DSquareCell_HashSet except those with AbstractGrid2DSquareCell.ChunkID _ChunkID. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
Attempts to Swap all AbstractGrid2DSquareCell.ChunkIDs in this._AbstractGrid2DSquareCell_HashSet except those with AbstractGrid2DSquareCell.ChunkID _ChunkID. |
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
|
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_Account()
A method to try to ensure there is enough memory to continue. |
java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
long |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell)
|
java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
long |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
long |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
|
long |
tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
long |
tryToEnsureThereIsEnoughMemoryToContinue_Account(boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap)
|
long |
tryToEnsureThereIsEnoughMemoryToContinue_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail()
A method to ensure there is enough memory to continue. |
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell)
|
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
protected java.lang.Object[] |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap)
|
java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> |
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
protected boolean |
tryToEnsureThereIsEnoughMemoryToContinue()
|
protected boolean |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
void |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
A method to try to ensure there is enough memory to continue. |
protected boolean |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell)
|
protected boolean |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID)
|
void |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell,
AbstractGrid2DSquareCell.ChunkID a_ChunkID,
boolean handleOutOfMemoryError)
A method to try to ensure there is enough memory to continue. |
void |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell,
boolean handleOutOfMemoryError)
A method to try to ensure there is enough memory to continue. |
protected boolean |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
|
void |
tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell,
java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet,
boolean handleOutOfMemoryError)
A method to ensure there is enough memory to continue. |
boolean |
tryToEnsureThereIsEnoughMemoryToContinue(boolean handleOutOfMemoryError)
A method to try to ensure there is enough memory to continue. |
protected boolean |
tryToEnsureThereIsEnoughMemoryToContinue(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap)
|
void |
tryToEnsureThereIsEnoughMemoryToContinue(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap,
boolean handleOutOfMemoryError)
A method to try to ensure there is enough memory to continue. |
Methods inherited from class uk.ac.leeds.ccg.andyt.generic.memory.Generic_OutOfMemoryErrorHandler |
---|
clear_MemoryReserve, get_Generic_TestMemory, get_MemoryReserve, getRuntime, getTotalFreeMemory, getTotalFreeMemory, init_MemoryReserve, init_MemoryReserve, init_MemoryReserve, initFile, initFile, initFileDirectory, initString, initString, println, set_MemoryReserve, sin, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient java.io.File _Directory
protected transient java.util.HashSet<AbstractGrid2DSquareCell> _AbstractGrid2DSquareCell_HashSet
protected boolean dataToSwap
Constructor Detail |
---|
public Grids_Environment()
Method Detail |
---|
public uk.ac.leeds.ccg.andyt.generic.math.Generic_BigDecimal get_Generic_BigDecimal()
public void setGeneric_BigDecimal(uk.ac.leeds.ccg.andyt.generic.math.Generic_BigDecimal a_Generic_BigDecimal)
Generic_BigDecimal
- the _Generic_BigDecimal to setprotected void init_AbstractGrid2DSquareCell_HashSet()
if ( this._AbstractGrid2DSquareCell_HashSet == null ) {
this._AbstractGrid2DSquareCell_HashSet = new HashSet();
}
protected void init_AbstractGrid2DSquareCell_HashSet(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet)
if ( this._AbstractGrid2DSquareCell_HashSet == null ) {
this._AbstractGrid2DSquareCell_HashSet = a_AbstractGrid2DSquareCell_HashSet;
} else {
//System.err.println( this.getClass().getName() + ".init_AbstractGrid2DSquareCell_HashSet(HashSet)" );
if ( a_AbstractGrid2DSquareCell_HashSet == null ) { // Debug
this._AbstractGrid2DSquareCell_HashSet = new HashSet();
} else {
this._AbstractGrid2DSquareCell_HashSet = a_AbstractGrid2DSquareCell_HashSet;
}
}
public java.util.HashSet<AbstractGrid2DSquareCell> get_AbstractGrid2DSquareCell_HashSet()
public void set_AbstractGrid2DSquareCell_HashSet(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet, boolean handleOutOfMemoryError)
_AbstractGrid2DSquareCell_HashSet
- The HashSet this._AbstractGrid2DSquareCell_HashSet is set to.protected void set_AbstractGrid2DSquareCell_HashSet(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet)
public void init_Grid2DSquareCells_MemoryReserve(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet, boolean handleOutOfMemoryError)
_AbstractGrid2DSquareCell_HashSet
- A HashSet used for initialisation.protected void init_Grid2DSquareCells_MemoryReserve(java.util.HashSet<AbstractGrid2DSquareCell> a_AbstractGrid2DSquareCell_HashSet)
_AbstractGrid2DSquareCell_HashSet
- A HashSet used for initialisation.public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> init_MemoryReserve_AccountDetail(boolean handleOutOfMemoryError)
init_MemoryReserve_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
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.public long init_MemoryReserve_Account(boolean handleOutOfMemoryError)
init_MemoryReserve_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
public final void init_MemoryReserve(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
init_MemoryReserve
in interface Grids_OutOfMemoryErrorHandlerInterface
a_Grid2DSquareCell
- 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.public final void init_MemoryReserve(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
init_MemoryReserve
in interface Grids_OutOfMemoryErrorHandlerInterface
a_ChunkID
- 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.public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
init_MemoryReserve_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
a_ChunkID
- 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.public long init_MemoryReserve_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
init_MemoryReserve_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
public final void init_MemoryReserve(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
init_MemoryReserve
in interface Grids_OutOfMemoryErrorHandlerInterface
a_Grid2DSquareCell
- a_ChunkID
- 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.public long init_MemoryReserve_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
init_MemoryReserve_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
init_MemoryReserve_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
a_Grid2DSquareCell
- a_ChunkID
- 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.public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet, boolean handleOutOfMemoryError)
init_MemoryReserve_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> init_MemoryReserve_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
init_MemoryReserve_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
public long init_MemoryReserve_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap, boolean handleOutOfMemoryError)
init_MemoryReserve_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
public long init_MemoryReserve_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
init_MemoryReserve_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
public long init_MemoryReserve_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet, boolean handleOutOfMemoryError)
init_MemoryReserve_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
public final void init_MemoryReserve(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet, boolean handleOutOfMemoryError)
init_MemoryReserve
in interface Grids_OutOfMemoryErrorHandlerInterface
a_Grid2DSquareCell
- a_ChunkID_HashSet
- HashSet of AbstractGrid2DSquareCell.ChunkIDshandleOutOfMemoryError
- If true then OutOfMemoryErrors are caught, swap operations are initiated,
then the method is re-called.
If false then OutOfMemoryErrors are caught and thrown.public void init_MemoryReserve(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap, boolean handleOutOfMemoryError)
init_MemoryReserve
in interface Grids_OutOfMemoryErrorHandlerInterface
_Grid2DSquareCell_ChunkIDHashSet_HashMap
- HashMap with AbstractGrid2DSquareCell as
keys and a respective HashSet of AbstractGrid2DSquareCell.ChunkIDs. Identifying
those ChunkIDs not to be swapped from the AbstractGrid2DSquareCell.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.public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> init_MemoryReserve_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap, boolean handleOutOfMemoryError)
init_MemoryReserve_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
public boolean tryToEnsureThereIsEnoughMemoryToContinue(boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue
in interface Grids_OutOfMemoryErrorHandlerInterface
tryToEnsureThereIsEnoughMemoryToContinue
in class uk.ac.leeds.ccg.andyt.generic.memory.Generic_OutOfMemoryErrorHandler
protected boolean tryToEnsureThereIsEnoughMemoryToContinue()
tryToEnsureThereIsEnoughMemoryToContinue
in class uk.ac.leeds.ccg.andyt.generic.memory.Generic_OutOfMemoryErrorHandler
public void tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue
in interface Grids_OutOfMemoryErrorHandlerInterface
protected boolean tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell)
public void tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue
in interface Grids_OutOfMemoryErrorHandlerInterface
protected boolean tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID)
public void tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue
in interface Grids_OutOfMemoryErrorHandlerInterface
protected boolean tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
public void tryToEnsureThereIsEnoughMemoryToContinue(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue
in interface Grids_OutOfMemoryErrorHandlerInterface
protected boolean tryToEnsureThereIsEnoughMemoryToContinue(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap)
public void tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
- protected boolean tryToEnsureThereIsEnoughMemoryToContinue(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
public long tryToEnsureThereIsEnoughMemoryToContinue_Account(boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_Account()
public long tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell)
public long tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
public java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID)
public long tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
public java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
public long tryToEnsureThereIsEnoughMemoryToContinue_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
public java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap)
public long tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_Account
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
public java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
- handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail()
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell)
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID)
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_AbstractGrid2DSquareCell_ChunkID_HashSet_HashMap)
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet, boolean handleOutOfMemoryError)
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail
in interface Grids_OutOfMemoryErrorHandlerInterface
handleOutOfMemoryError
-
protected java.lang.Object[] tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunks_AccountDetail(boolean handleOutOfMemoryError)
handleOutOfMemoryError
- If true then OutOfMemoryErrors are caught in this method then swap
operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunks_AccountDetail()
public long swapToFile_Grid2DSquareCellChunks_Account(boolean handleOutOfMemoryError)
handleOutOfMemoryError
- If true then OutOfMemoryErrors are caught in this method then swap
operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.protected long swapToFile_Grid2DSquareCellChunks_Account()
public void swapToFile_Grid2DSquareCellChunks(boolean handleOutOfMemoryError)
handleOutOfMemoryError
- If true then OutOfMemoryErrors are caught in this method then swap
operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.protected boolean swapToFile_Grid2DSquareCellChunks()
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunk_AccountDetail(boolean handleOutOfMemoryError)
handleOutOfMemoryError
- If true then OutOfMemoryErrors are caught in this method then swap
operations are initiated prior to retrying.
If false then OutOfMemoryErrors are caught and thrown.
public void swapToFile_Grid2DSquareCellChunk(boolean handleOutOfMemoryError)
protected boolean swapToFile_Grid2DSquareCellChunk()
public long swapToFile_Grid2DSquareCellChunk_Account(boolean handleOutOfMemoryError)
protected long swapToFile_Grid2DSquareCellChunk_Account()
public void swapToFile_Grid2DSquareCellChunkExcept(AbstractGrid2DSquareCell a_AbstractGrid2DSquareCell, boolean handleOutOfMemoryError)
a_AbstractGrid2DSquareCell
- protected boolean swapToFile_Grid2DSquareCellChunkExcept(AbstractGrid2DSquareCell a_AbstractGrid2DSquareCell)
a_AbstractGrid2DSquareCell
- public static void combine(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> toGetCombined, java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> toCombine)
toGetCombined
- toCombine
- protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunk_AccountDetail()
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be swapped.
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be swapped.
public long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
protected long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be swapped.
protected void swapToFile_Grid2DSquareCellChunkExcept(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be swapped.public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkIDHashSet, boolean handleOutOfMemoryError)
a_Grid2DSquareCell_ChunkIDHashSet
- HashMap with AbstractGrid2DSquareCell as
keys and a respective HashSet of AbstractGrid2DSquareCell.ChunkIDs. Identifying
those ChunkIDs not to be swapped from the AbstractGrid2DSquareCell.
TODO
tryToEnsureThereIsEnoughMemoryToContinue_AccountDetail(protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
_Grid2DSquareCell_ChunkIDHashSet
- HashMap with AbstractGrid2DSquareCell as
keys and a respective HashSet of AbstractGrid2DSquareCell.ChunkIDs. Identifying
those ChunkIDs not to be swapped from the AbstractGrid2DSquareCell.
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID)
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunkExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell)
protected long swapToFile_Grid2DSquareCellChunkExcept_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
protected void swapToFile_Grid2DSquareCellChunkExcept(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
public long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet, boolean handleOutOfMemoryError)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.
protected long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.
public long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be swapped.
protected long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be swapped.
public long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.
protected long swapToFile_Grid2DSquareCellChunkExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be
swapped.
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell.ChunkID a_ChunkID)
a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be
swapped.
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.
swapped.
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.
public long swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, boolean handleOutOfMemoryError)
protected long swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell)
public java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be
swapped.
public long swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID, boolean handleOutOfMemoryError)
protected long swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID)
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, AbstractGrid2DSquareCell.ChunkID a_ChunkID)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.a_ChunkID
- The AbstractGrid2DSquareCell.ChunkID not to be
swapped.
protected java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> swapToFile_Grid2DSquareCellChunksExcept_AccountDetail(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
protected long swapToFile_Grid2DSquareCellChunksExcept_Account(AbstractGrid2DSquareCell a_Grid2DSquareCell, java.util.HashSet<AbstractGrid2DSquareCell.ChunkID> a_ChunkID_HashSet)
a_Grid2DSquareCell
- AbstractGrid2DSquareCell that's chunks are not to be swapped.a_ChunkID_HashSet
- The AbstractGrid2DSquareCell.ChunkID not to be
swapped.
public long swapToFile_Grid2DSquareCellChunksExcept_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap, boolean handleOutOfMemoryError)
protected long swapToFile_Grid2DSquareCellChunksExcept_Account(java.util.HashMap<AbstractGrid2DSquareCell,java.util.HashSet<AbstractGrid2DSquareCell.ChunkID>> a_Grid2DSquareCell_ChunkID_HashSet_HashMap)
public void swapToFile_Data()
public void swapToFile_Data(boolean handleOutOfMemoryError)
public boolean swapToFile_DataAny(boolean handleOutOfMemoryError)
swapToFile_DataAny
in class uk.ac.leeds.ccg.andyt.generic.memory.Generic_OutOfMemoryErrorHandler
public boolean swapToFile_DataAny()
swapToFile_DataAny
in class uk.ac.leeds.ccg.andyt.generic.memory.Generic_OutOfMemoryErrorHandler
public boolean isDataToSwap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |