Package org.apache.spark.util
Interface SparkSystemUtils
public interface SparkSystemUtils
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisLinux()Whether the underlying operating system is Linux.booleanisMac()Whether the underlying operating system is Mac OS X.booleanWhether the underlying operating system is Mac OS X and processor is Apple Silicon.booleanisUnix()Whether the underlying operating system is UNIX.booleanWhether the underlying operating system is Windows.Thejava.versionsystem property.osArch()Theos.archsystem property.osName()Theos.namesystem property.Theos.versionsystem property.
-
Method Details
-
osName
String osName()Theos.namesystem property.- Returns:
- (undocumented)
-
osVersion
String osVersion()Theos.versionsystem property.- Returns:
- (undocumented)
-
osArch
String osArch()Theos.archsystem property.- Returns:
- (undocumented)
-
javaVersion
String javaVersion()Thejava.versionsystem 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)
-