public interface NativeAccess
Provides access to native functionality needed by Elastisearch.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine whether this JVM is running as the root user.static NativeAccessinstance()Get the one and only instance ofNativeAccesswhich is specific to the running platform and JVM.
-
Method Details
-
instance
Get the one and only instance ofNativeAccesswhich is specific to the running platform and JVM. -
definitelyRunningAsRoot
boolean definitelyRunningAsRoot()Determine whether this JVM is running as the root user.- Returns:
- true if running as root, or false if unsure
-