Class JvmOptions
java.lang.Object
io.strimzi.api.kafka.model.common.JvmOptions
- All Implemented Interfaces:
UnknownPropertyPreserving
Representation for options to be passed to a JVM.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanConfigures the default value for the GC logging configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetXms()getXmx()getXx()booleanvoidsetAdditionalProperty(String name, Object value) voidsetGcLoggingEnabled(boolean gcLoggingEnabled) voidsetJavaSystemProperties(List<SystemProperty> javaSystemProperties) voidvoidvoid
-
Field Details
-
DEFAULT_GC_LOGGING_ENABLED
public static final boolean DEFAULT_GC_LOGGING_ENABLEDConfigures the default value for the GC logging configuration. This is used in the model classes when the jvmOptions section is not set at all. Storing it here ensures that the default value is the same when jvmOptions is null as well as when jvmOptions are set but without specific gcLoggingEnabled value being set.- See Also:
-
-
Constructor Details
-
JvmOptions
public JvmOptions()
-
-
Method Details
-
getXmx
-
setXmx
-
getXms
-
setXms
-
isGcLoggingEnabled
public boolean isGcLoggingEnabled() -
setGcLoggingEnabled
public void setGcLoggingEnabled(boolean gcLoggingEnabled) -
getJavaSystemProperties
-
setJavaSystemProperties
-
getXx
-
setXx
-
getAdditionalProperties
- Specified by:
getAdditionalPropertiesin interfaceUnknownPropertyPreserving
-
setAdditionalProperty
- Specified by:
setAdditionalPropertyin interfaceUnknownPropertyPreserving
-