Package org.apache.spark.util
Interface SparkSystemUtils
public interface SparkSystemUtils
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isLinux()
Whether the underlying operating system is Linux.boolean
isMac()
Whether the underlying operating system is Mac OS X.boolean
Whether the underlying operating system is Mac OS X and processor is Apple Silicon.boolean
isUnix()
Whether the underlying operating system is UNIX.boolean
Whether the underlying operating system is Windows.Thejava.version
system property.osArch()
Theos.arch
system property.osName()
Theos.name
system property.Theos.version
system property.
-
Method Details
-
osName
String osName()Theos.name
system property.- Returns:
- (undocumented)
-
osVersion
String osVersion()Theos.version
system property.- Returns:
- (undocumented)
-
osArch
String osArch()Theos.arch
system property.- Returns:
- (undocumented)
-
javaVersion
String javaVersion()Thejava.version
system property.- Returns:
- (undocumented)
-
isWindows
boolean isWindows()Whether the underlying operating system is Windows.- Returns:
- (undocumented)
-
isMac
boolean isMac()Whether the underlying operating system is Mac OS X.- Returns:
- (undocumented)
-
isMacOnAppleSilicon
boolean isMacOnAppleSilicon()Whether the underlying operating system is Mac OS X and processor is Apple Silicon.- Returns:
- (undocumented)
-
isLinux
boolean isLinux()Whether the underlying operating system is Linux.- Returns:
- (undocumented)
-
isUnix
boolean isUnix()Whether the underlying operating system is UNIX.- Returns:
- (undocumented)
-