java.lang.Object
org.elasticsearch.bootstrap.BootstrapInfo
Exposes system startup information
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final char
A non-printable character denoting the server is ready to process requests.static final char
A non-printable character denoting the server should shut itself down.static final String
codebase location for untrusted scripts (provide some additional safety) -
Method Summary
Modifier and TypeMethodDescriptionstatic ConsoleLoader.Console
Returns information about the console (tty) attached to the server process, ornull
if no console is attached.static 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.
-
Field Details
-
UNTRUSTED_CODEBASE
codebase location for untrusted scripts (provide some additional safety)This is not a full URL, just a path.
- See Also:
-
SERVER_READY_MARKER
public static final char SERVER_READY_MARKERA non-printable character denoting the server is ready to process requests. This is sent over stderr to the controlling CLI process.- See Also:
-
SERVER_SHUTDOWN_MARKER
public static final char SERVER_SHUTDOWN_MARKERA non-printable character denoting the server should shut itself down. This is sent over stdin from the controlling CLI process.- See Also:
-
-
Method Details
-
isMemoryLocked
public static boolean isMemoryLocked()Returns true if we were able to lock the process's address space. -
getConsole
Returns information about the console (tty) attached to the server process, ornull
if no console is attached. -
getSystemProperties
Returns a read-only view of all system properties -
init
public static void init()
-