Package loci.plugins.in
Class MemoryDialog
java.lang.Object
loci.plugins.prefs.OptionsDialog
loci.plugins.in.ImporterDialog
loci.plugins.in.MemoryDialog
Bio-Formats Importer memory usage confirmation dialog box.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longRemaining memory for the JVM.private static final longMinimum amount of wiggle room for available memory, in bytes.private longRequired memory for the dataset, in bytes.Fields inherited from class loci.plugins.in.ImporterDialog
options, processFields inherited from class loci.plugins.prefs.OptionsDialog
IS_GLITCHED, optionsList, STATUS_CANCELED, STATUS_FINISHED, STATUS_OK -
Constructor Summary
ConstructorsConstructorDescriptionMemoryDialog(ImportProcess process) Creates a memory confirmation dialog for the Bio-Formats Importer. -
Method Summary
Modifier and TypeMethodDescriptionprotected ij.gui.GenericDialogprivate longprotected booleanharvestResults(ij.gui.GenericDialog gd) protected booleanMethods inherited from class loci.plugins.in.ImporterDialog
displayDialog, showDialogMethods inherited from class loci.plugins.prefs.OptionsDialog
addCheckbox, addChoice, sleep
-
Field Details
-
MINIMUM_MEMORY_PADDING
private static final long MINIMUM_MEMORY_PADDINGMinimum amount of wiggle room for available memory, in bytes.- See Also:
-
needMem
private long needMemRequired memory for the dataset, in bytes. -
availMem
private long availMemRemaining memory for the JVM.
-
-
Constructor Details
-
MemoryDialog
Creates a memory confirmation dialog for the Bio-Formats Importer.
-
-
Method Details
-
needPrompt
protected boolean needPrompt()- Specified by:
needPromptin classImporterDialog
-
constructDialog
protected ij.gui.GenericDialog constructDialog()- Specified by:
constructDialogin classImporterDialog
-
harvestResults
protected boolean harvestResults(ij.gui.GenericDialog gd) - Specified by:
harvestResultsin classImporterDialog
-
getAvailableMemory
private long getAvailableMemory()
-