origin.
Each VM option has a default value. A VM option can
be set at VM creation time typically as a command line
argument to the launcher or an argument passed to the
VM created using the JNI invocation interface.
In addition, a VM option may be set via an environment
variable or a configuration file. A VM option can also
be set dynamically via a management interface after
the VM was started.
A VMOption contains the value of a VM option
and the origin of that value at the time this VMOption
object was constructed. The value of the VM option
may be changed after the VMOption object was constructed,
| Modifier and Type | Class and Description |
|---|---|
| public static enum | VMOption.
Origin of the value of a VM option. |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private VMOption. | |
| private String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static VMOption | Returns: aVMOption object represented by cd
if cd is not null;
null otherwise.CompositeData representing a VMOptionReturns a |
| public String | |
| public VMOption. | Returns: where the value of this VM option came from.Returns the origin of the value of this VM option. |
| public String | Returns: the value of the VM option at the time when thisVMOption was created.Returns the value of this VM option at the time when
this |
| public boolean | Returns: true if this VM option is writeable; false
otherwise.Tests if this VM option is writeable. |
| public String |
| name | back to summary |
|---|---|
| private String name | |
| origin | back to summary |
|---|---|
| private VMOption. | |
| value | back to summary |
|---|---|
| private String value | |
| writeable | back to summary |
|---|---|
| private boolean writeable | |
| VMOption | back to summary |
|---|---|
| public VMOption(String name, String value, boolean writeable, VMOption. Constructs a
| |
| VMOption | back to summary |
|---|---|
| private VMOption(CompositeData cd) Constructs a | |
| from | back to summary | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static VMOption from(CompositeData cd) Returns a
| |||||||||||
| getName | back to summary |
|---|---|
| public String getName() Returns the name of this VM option.
| |
| getOrigin | back to summary |
|---|---|
| public VMOption. Returns the origin of the value of this VM option. That is, where the value of this VM option came from. | |
| getValue | back to summary |
|---|---|
| public String getValue() Returns the value of this VM option at the time when
this
| |
| isWriteable | back to summary |
|---|---|
| public boolean isWriteable() Tests if this VM option is writeable. If this VM option is writeable,
it can be set by the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final VMOption. | ATTACH_ON_DEMAND
The VM option was set using the attach framework. |
| public static final VMOption. | CONFIG_FILE
The VM option was set via a configuration file. |
| public static final VMOption. | DEFAULT
The VM option has not been set and its value is the default value. |
| public static final VMOption. | ENVIRON_VAR
The VM option was set via an environment variable. |
| public static final VMOption. | ERGONOMIC
The VM option was set via the VM ergonomic support. |
| public static final VMOption. | MANAGEMENT
The VM option was set via the management interface after the VM was started. |
| public static final VMOption. | OTHER
The VM option was set via some other mechanism. |
| public static final VMOption. | VM_CREATION
The VM option was set at VM creation time typically as a command line argument to the launcher or an argument passed to the VM created using the JNI invocation interface. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static VMOption. | |
| public static VMOption. |
| ATTACH_ON_DEMAND | back to summary |
|---|---|
| public static final VMOption. The VM option was set using the attach framework.
| |
| CONFIG_FILE | back to summary |
|---|---|
| public static final VMOption. The VM option was set via a configuration file. | |
| DEFAULT | back to summary |
|---|---|
| public static final VMOption. The VM option has not been set and its value is the default value. | |
| ENVIRON_VAR | back to summary |
|---|---|
| public static final VMOption. The VM option was set via an environment variable. | |
| ERGONOMIC | back to summary |
|---|---|
| public static final VMOption. The VM option was set via the VM ergonomic support. | |
| MANAGEMENT | back to summary |
|---|---|
| public static final VMOption. The VM option was set via the management interface after the VM was started. | |
| OTHER | back to summary |
|---|---|
| public static final VMOption. The VM option was set via some other mechanism. | |
| VM_CREATION | back to summary |
|---|---|
| public static final VMOption. The VM option was set at VM creation time typically as a command line argument to the launcher or an argument passed to the VM created using the JNI invocation interface. | |
| Origin | back to summary |
|---|---|
| private Origin() | |
| valueOf | back to summary |
|---|---|
| public static VMOption. | |
| values | back to summary |
|---|---|
| public static VMOption. | |