hudson.node_monitors
Class SwapSpaceMonitor.MemoryUsage2

java.lang.Object
  extended by org.jvnet.hudson.MemoryUsage
      extended by hudson.node_monitors.SwapSpaceMonitor.MemoryUsage2
All Implemented Interfaces:
Serializable
Enclosing class:
SwapSpaceMonitor

@ExportedBean
public static class SwapSpaceMonitor.MemoryUsage2
extends org.jvnet.hudson.MemoryUsage

Memory Usage.

MemoryUsage + stapler annotations.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jvnet.hudson.MemoryUsage
availablePhysicalMemory, availableSwapSpace, totalPhysicalMemory, totalSwapSpace
 
Constructor Summary
SwapSpaceMonitor.MemoryUsage2(org.jvnet.hudson.MemoryUsage mem)
           
 
Method Summary
 long getAvailablePhysicalMemory()
          Of the total physical memory of the system, available bytes.
 long getAvailableSwapSpace()
          Available swap space in bytes.
 long getTotalPhysicalMemory()
          Total physical memory of the system, in bytes.
 long getTotalSwapSpace()
          Total number of swap space in bytes.
 
Methods inherited from class org.jvnet.hudson.MemoryUsage
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwapSpaceMonitor.MemoryUsage2

public SwapSpaceMonitor.MemoryUsage2(org.jvnet.hudson.MemoryUsage mem)
Method Detail

getTotalPhysicalMemory

@Exported
public long getTotalPhysicalMemory()
Total physical memory of the system, in bytes.


getAvailablePhysicalMemory

@Exported
public long getAvailablePhysicalMemory()
Of the total physical memory of the system, available bytes.


getTotalSwapSpace

@Exported
public long getTotalSwapSpace()
Total number of swap space in bytes.


getAvailableSwapSpace

@Exported
public long getAvailableSwapSpace()
Available swap space in bytes.



Copyright © 2004-2013. All Rights Reserved.