public class GCPreferences extends Object
created on: 20.11.2011
| Modifier and Type | Field and Description |
|---|---|
static String |
ANTI_ALIAS |
static String |
CONCURRENT_COLLECTION_BEGIN_END |
static String |
FULL_GC_LINES |
static String |
GC_TIMES_LINE |
static String |
GC_TIMES_RECTANGLES |
static String |
INC_GC_LINES |
static String |
INITIAL_MARK_LEVEL |
static String |
SHOW_DATA_PANEL |
static String |
SHOW_DATE_STAMP |
static String |
SHOW_MODEL_METRICS_PANEL |
static String |
TENURED_MEMORY |
static String |
TOTAL_MEMORY |
static String |
USED_MEMORY |
static String |
USED_TENURED_MEMORY |
static String |
USED_YOUNG_MEMORY |
static String |
YOUNG_MEMORY |
| Constructor and Description |
|---|
GCPreferences() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanProperty(String key) |
boolean |
getGcLineProperty(String key) |
boolean |
getGcLineProperty(String key,
boolean defaultValue) |
String |
getLastFile() |
List<String> |
getRecentFiles() |
int |
getWindowHeight() |
int |
getWindowWidth() |
int |
getWindowX() |
int |
getWindowY() |
boolean |
isPropertiesLoaded() |
boolean |
isShowDataPanel() |
boolean |
isShowDateStamp() |
boolean |
isShowModelMetricsPanel() |
void |
load()
Loads properties from a file.
|
void |
setBooleanProperty(String key,
boolean value) |
void |
setGcLineProperty(String key,
boolean value) |
void |
setLastFile(String filename) |
void |
setRecentFiles(List<String> fileNames) |
void |
setShowDataPanel(boolean showDataPanel) |
void |
setShowDateStamp(boolean showDateStamp) |
void |
setShowModelMetricsPanel(boolean showModelMetricsPanel) |
void |
setTo(GCPreferences gcPreferences)
Replace all currently held preferences with preferences stored in
gcPreferences. |
void |
setWindowHeight(int value) |
void |
setWindowWidth(int value) |
void |
setWindowX(int value) |
void |
setWindowY(int value) |
void |
store()
Save properties to a file.
|
public static final String FULL_GC_LINES
public static final String INC_GC_LINES
public static final String GC_TIMES_LINE
public static final String GC_TIMES_RECTANGLES
public static final String TOTAL_MEMORY
public static final String USED_MEMORY
public static final String USED_YOUNG_MEMORY
public static final String USED_TENURED_MEMORY
public static final String TENURED_MEMORY
public static final String YOUNG_MEMORY
public static final String INITIAL_MARK_LEVEL
public static final String CONCURRENT_COLLECTION_BEGIN_END
public static final String ANTI_ALIAS
public static final String SHOW_DATA_PANEL
public static final String SHOW_DATE_STAMP
public static final String SHOW_MODEL_METRICS_PANEL
public void store()
public void load()
public boolean isPropertiesLoaded()
public void setTo(GCPreferences gcPreferences)
gcPreferences.gcPreferences - set of preferences to copy frompublic boolean getBooleanProperty(String key)
public void setBooleanProperty(String key, boolean value)
public int getWindowWidth()
public void setWindowWidth(int value)
public int getWindowHeight()
public void setWindowHeight(int value)
public int getWindowX()
public void setWindowX(int value)
public int getWindowY()
public void setWindowY(int value)
public void setLastFile(String filename)
public String getLastFile()
public boolean getGcLineProperty(String key)
public boolean getGcLineProperty(String key, boolean defaultValue)
public void setGcLineProperty(String key, boolean value)
public void setShowDataPanel(boolean showDataPanel)
public boolean isShowDataPanel()
public boolean isShowDateStamp()
public void setShowDateStamp(boolean showDateStamp)
public void setShowModelMetricsPanel(boolean showModelMetricsPanel)
public boolean isShowModelMetricsPanel()
Copyright © 2019. All rights reserved.