Package org.elasticsearch.bootstrap
Class BootstrapInfo
java.lang.Object
org.elasticsearch.bootstrap.BootstrapInfo
Exposes system startup information
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
codebase location for untrusted scripts (provide some additional safety) -
Method Summary
Modifier and TypeMethodDescriptionstatic Dictionary<Object,Object>
Returns a read-only view of all system propertiesstatic void
init()
static boolean
Returns true if we were able to lock the process's address space.static boolean
Returns true if we successfully loaded native libraries.static boolean
Returns true if system call filter is installed (supported systems only)
-
Field Details
-
UNTRUSTED_CODEBASE
codebase location for untrusted scripts (provide some additional safety)This is not a full URL, just a path.
- See Also:
- Constant Field Values
-
-
Method Details
-
isNativesAvailable
public static boolean isNativesAvailable()Returns true if we successfully loaded native libraries.If this returns false, then native operations such as locking memory did not work.
-
isMemoryLocked
public static boolean isMemoryLocked()Returns true if we were able to lock the process's address space. -
isSystemCallFilterInstalled
public static boolean isSystemCallFilterInstalled()Returns true if system call filter is installed (supported systems only) -
getSystemProperties
Returns a read-only view of all system properties -
init
public static void init()
-