public interface JvmOptionBag extends ConfigBeanProxy
PropertyBag
Modifier and Type | Interface and Description |
---|---|
static class |
JvmOptionBag.Duck |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String option) |
List<String> |
getJvmOptions() |
List<String> |
getJvmRawOptions() |
String |
getStartingWith(String start) |
int |
getXmsMegs()
see #getXmxMegs
|
int |
getXmxMegs()
It's observed that many a time we need the value of max heap size.
|
void |
setJvmOptions(List<String> options) |
createChild, deepCopy, getParent, getParent
@DuckTyped List<String> getJvmOptions()
void setJvmOptions(List<String> options) throws PropertyVetoException
PropertyVetoException
@DuckTyped int getXmxMegs()
Incompatible minimum and maximum heap sizes specified
when that happens.
It's generally better to do some basic validations in those cases and that's when this method may be useful.@DuckTyped int getXmsMegs()
@DuckTyped boolean contains(String option)
@DuckTyped String getStartingWith(String start)
Copyright © 2020. All rights reserved.