Package org.apache.spark.util
Interface SparkSystemUtils
public interface SparkSystemUtils
- 
Method SummaryModifier 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- 
osNameString osName()Theos.namesystem property.- Returns:
- (undocumented)
 
- 
osVersionString osVersion()Theos.versionsystem property.- Returns:
- (undocumented)
 
- 
osArchString osArch()Theos.archsystem property.- Returns:
- (undocumented)
 
- 
javaVersionString javaVersion()Thejava.versionsystem property.- Returns:
- (undocumented)
 
- 
isWindowsboolean isWindows()Whether the underlying operating system is Windows.- Returns:
- (undocumented)
 
- 
isMacboolean isMac()Whether the underlying operating system is Mac OS X.- Returns:
- (undocumented)
 
- 
isMacOnAppleSiliconboolean isMacOnAppleSilicon()Whether the underlying operating system is Mac OS X and processor is Apple Silicon.- Returns:
- (undocumented)
 
- 
isLinuxboolean isLinux()Whether the underlying operating system is Linux.- Returns:
- (undocumented)
 
- 
isUnixboolean isUnix()Whether the underlying operating system is UNIX.- Returns:
- (undocumented)
 
 
-