Package org.openspaces.admin.os
Interface OperatingSystemDetails
- All Known Implementing Classes:
DefaultOperatingSystemDetails
public interface OperatingSystemDetails
Operating System Details include static information (non-changeable) regarding the operating
system.
- Author:
- kimchy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiongetArch()Returns the architecture of the operating system.intReturns the number of available processors.Returns drive detailsReturns the (local) host address of the OS.Returns the (local) host name of the OS.getName()Returns the name of the operating system.Returns network detailslongReturns the total physical memory size in bytes.doubleReturns the total physical memory size in giga byes.doubleReturns the total physical memory size in mega bytes.longReturns the total swap space size in bytes.doubleReturns the total swap space size in giga bytes.doubleReturns the total swap space size in mega bytes.getUid()Returns the uid of the operating system.Returns the version of the operating system.booleanisNA()Returnstrueif the details are not available.
-
Method Details
-
isNA
boolean isNA()Returnstrueif the details are not available. -
getUid
String getUid()Returns the uid of the operating system. -
getName
String getName()Returns the name of the operating system.- See Also:
-
getArch
String getArch()Returns the architecture of the operating system.- See Also:
-
getVersion
String getVersion()Returns the version of the operating system.- See Also:
-
getAvailableProcessors
int getAvailableProcessors()Returns the number of available processors. -
getTotalSwapSpaceSizeInBytes
long getTotalSwapSpaceSizeInBytes()Returns the total swap space size in bytes.Note, currently only available on SUN VM.
-
getTotalSwapSpaceSizeInMB
double getTotalSwapSpaceSizeInMB()Returns the total swap space size in mega bytes.Note, currently only available on SUN VM.
-
getTotalSwapSpaceSizeInGB
double getTotalSwapSpaceSizeInGB()Returns the total swap space size in giga bytes.Note, currently only available on SUN VM.
-
getTotalPhysicalMemorySizeInBytes
long getTotalPhysicalMemorySizeInBytes()Returns the total physical memory size in bytes.Note, currently only available on SUN VM.
-
getTotalPhysicalMemorySizeInMB
double getTotalPhysicalMemorySizeInMB()Returns the total physical memory size in mega bytes.Note, currently only available on SUN VM.
-
getTotalPhysicalMemorySizeInGB
double getTotalPhysicalMemorySizeInGB()Returns the total physical memory size in giga byes.Note, currently only available on SUN VM.
-
getHostName
String getHostName()Returns the (local) host name of the OS. -
getHostAddress
String getHostAddress()Returns the (local) host address of the OS. -
getNetworkDetails
Map<String,OperatingSystemDetails.NetworkDetails> getNetworkDetails()Returns network details -
getDriveDetails
Map<String,OperatingSystemDetails.DriveDetails> getDriveDetails()Returns drive details- Since:
- 8.0.3
-
getVendorDetails
OperatingSystemDetails.VendorDetails getVendorDetails()- Returns:
- Returns the vendor details;
nullif no vendor details available (e.g. when using JMX and not Sigar). - Since:
- 8.0.4
-