GigaSpaces XAP 7.0 API

org.openspaces.admin.os
Interface OperatingSystemDetails


public interface OperatingSystemDetails

Operating System Details include static information (non-changeable) regarding the operating system.

Author:
kimchy

Method Summary
 String getArch()
          Returns the architecture of the operating system.
 int getAvailableProcessors()
          Returns the number of available processors.
 String getHostAddress()
          Returns the (local) host address of the OS.
 String getHostName()
          Returns the (local) host name of the OS.
 String getName()
          Returns the name of the operating system.
 long getTotalPhysicalMemorySizeInBytes()
          Returns the total physical memory size in bytes.
 double getTotalPhysicalMemorySizeInGB()
          Returns the total physical memory size in giga byes.
 double getTotalPhysicalMemorySizeInMB()
          Returns the total physical memory size in mega bytes.
 long getTotalSwapSpaceSizeInBytes()
          Returns the total swap space size in bytes.
 double getTotalSwapSpaceSizeInGB()
          Returns the total swap space size in giga bytes.
 double getTotalSwapSpaceSizeInMB()
          Returns the total swap space size in mega bytes.
 String getUid()
          Returns the uid of the operating system.
 String getVersion()
          Returns the version of the operating system.
 boolean isNA()
          Returns true if the details are not available.
 

Method Detail

isNA

boolean isNA()
Returns true if 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:
OperatingSystemMXBean.getName()

getArch

String getArch()
Returns the architecture of the operating system.

See Also:
OperatingSystemMXBean.getArch()

getVersion

String getVersion()
Returns the version of the operating system.

See Also:
OperatingSystemMXBean.getVersion()

getAvailableProcessors

int getAvailableProcessors()
Returns the number of available processors.

See Also:
OperatingSystemMXBean.getAvailableProcessors()

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.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.