public class JvmConfig extends Configuration
| Constructor and Description |
|---|
JvmConfig() |
JvmConfig(Project project,
Map<ConfigKey,Object> attributes,
Integer xms,
Integer xmx,
Boolean server,
Boolean useStringDeduplication,
Boolean preferIPv4Stack,
Boolean heapDumpOnOutOfMemoryError,
Boolean useGCOverheadLimit,
GarbageCollector gc,
SecureRandomSource secureRandom) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
GarbageCollector |
getGc()
Garbage Collector implementation.
|
Boolean |
getHeapDumpOnOutOfMemoryError()
Instructs the JVM to dump heap into physical file in case of OutOfMemoryError
|
Boolean |
getPreferIPv4Stack()
Prefer IPv4 stack.
|
SecureRandomSource |
getSecureRandom()
The Secure random source to use.
|
Boolean |
getServer()
Server Flag.
|
Boolean |
getUseGCOverheadLimit()
Is a policy that limits the proportion of the VM’s time that is spent in GC before an OutOfMemory error is thrown.
|
Boolean |
getUseStringDeduplication()
String deduplication flag.
|
Integer |
getXms()
Starting heap size in megabytes.
|
Integer |
getXmx()
Maxium heap size in megabytes.
|
int |
hashCode() |
boolean |
isHeapDumpOnOutOfMemoryError()
Instructs the JVM to dump heap into physical file in case of OutOfMemoryError
|
boolean |
isPreferIPv4Stack()
Prefer IPv4 stack.
|
boolean |
isServer()
Server Flag.
|
boolean |
isUseGCOverheadLimit()
Is a policy that limits the proportion of the VM’s time that is spent in GC before an OutOfMemory error is thrown.
|
boolean |
isUseStringDeduplication()
String deduplication flag.
|
entrySet, getAttribute, getAttributeOrDefault, getAttributes, getProject, hasAttribute, put, setAttributes, setProjectpublic Integer getXms()
public Integer getXmx()
public Boolean getServer()
public boolean isServer()
public Boolean getUseStringDeduplication()
public boolean isUseStringDeduplication()
public Boolean getPreferIPv4Stack()
public boolean isPreferIPv4Stack()
public Boolean getHeapDumpOnOutOfMemoryError()
public boolean isHeapDumpOnOutOfMemoryError()
public Boolean getUseGCOverheadLimit()
public boolean isUseGCOverheadLimit()
public GarbageCollector getGc()
public SecureRandomSource getSecureRandom()
Copyright © 2018–2023 Red Hat. All rights reserved.