java.lang.Object
org.apache.lucene.util.HotspotVMOptions
Accessor to get Hotspot VM Options (if available).
-
Field Details
-
IS_HOTSPOT_VM
public static final boolean IS_HOTSPOT_VMTrue iff the Java VM is based on Hotspot and has the Hotspot MX bean readable by Lucene -
MANAGEMENT_FACTORY_CLASS
- See Also:
-
HOTSPOT_BEAN_CLASS
- See Also:
-
ACCESSOR
-
-
Constructor Details
-
HotspotVMOptions
private HotspotVMOptions()
-
-
Method Details
-
get
Returns an optional with the value of a Hotspot VM option. If the VM option does not exist or is not readable, returns an empty optional.
-