Package org.opensearch.plugins
Class Platforms
java.lang.Object
org.opensearch.plugins.Platforms
Encapsulates platform-dependent methods for handling native components of plugins.
- Opensearch.api:
-
Field Summary
Fields -
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-x64 - linux-x64 - windows-x64 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-x64 - linux-x64 - windows-x64 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 "x64" and "i386" with "x86". For Windows it's "windows-" followed by either "x86" or "x64".
-