Package org.elasticsearch.plugins
Class Platforms
java.lang.Object
org.elasticsearch.plugins.Platforms
Encapsulates platform-dependent methods for handling native components of plugins.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Path
nativeControllerPath(Path plugin)
The path to the native controller for a plugin with native components.static String
platformName(String osName, String osArch)
Return the platform name based on the OS name and architecture, for example: - darwin-x86_64 - linux-x86-64 - windows-x86_64 For *nix platforms this is more-or-less `uname -s`-`uname -m` converted to lower case.
-
Field Details
-
PLATFORM_NAME
-
-
Method Details
-
nativeControllerPath
The path to the native controller for a plugin with native components. -
platformName
Return the platform name based on the OS name and architecture, for example: - darwin-x86_64 - linux-x86-64 - windows-x86_64 For *nix platforms this is more-or-less `uname -s`-`uname -m` converted to lower case. However, for consistency between different operating systems on the same architecture "amd64" is replaced with "x86_64" and "i386" with "x86". For Windows it's "windows-" followed by either "x86" or "x86_64".
-