java.lang.Object
org.elasticsearch.bootstrap.BootstrapInfo
Exposes system startup information
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final charA non-printable character denoting the server is ready to process requests.static final charA non-printable character denoting the server should shut itself down.static final Stringcodebase location for untrusted scripts (provide some additional safety)static final charA non-printable character denoting a UserException has occurred.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ConsoleLoader.ConsoleReturns information about the console (tty) attached to the server process, ornullif no console is attached.static Dictionary<Object,Object> Returns a read-only view of all system propertiesstatic voidinit()static booleanReturns true if we were able to lock the process's address space.static booleanReturns true if we successfully loaded native libraries.static booleanReturns true if system call filter is installed (supported systems only)
- 
Field Details- 
UNTRUSTED_CODEBASEcodebase location for untrusted scripts (provide some additional safety)This is not a full URL, just a path. - See Also:
 
- 
USER_EXCEPTION_MARKERpublic static final char USER_EXCEPTION_MARKERA non-printable character denoting a UserException has occurred. This is sent over stderr to the controlling CLI process.- See Also:
 
- 
SERVER_READY_MARKERpublic 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_MARKERpublic 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- 
isNativesAvailablepublic 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. 
- 
isMemoryLockedpublic static boolean isMemoryLocked()Returns true if we were able to lock the process's address space.
- 
isSystemCallFilterInstalledpublic static boolean isSystemCallFilterInstalled()Returns true if system call filter is installed (supported systems only)
- 
getConsoleReturns information about the console (tty) attached to the server process, ornullif no console is attached.
- 
getSystemPropertiesReturns a read-only view of all system properties
- 
initpublic static void init()
 
-