org.jclouds.cloudsigma.domain
Class DriveMetrics

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.DriveMetrics

public class DriveMetrics
extends Object

Author:
Adrian Cole

Nested Class Summary
static class DriveMetrics.Builder
           
 
Field Summary
protected  long readBytes
           
protected  long readRequests
           
protected  long writeBytes
           
protected  long writeRequests
           
 
Constructor Summary
DriveMetrics(long readBytes, long readRequests, long writeBytes, long writeRequests)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getReadBytes()
           
 long getReadRequests()
           
 long getWriteBytes()
           
 long getWriteRequests()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

readBytes

protected final long readBytes

readRequests

protected final long readRequests

writeBytes

protected final long writeBytes

writeRequests

protected final long writeRequests
Constructor Detail

DriveMetrics

public DriveMetrics(long readBytes,
                    long readRequests,
                    long writeBytes,
                    long writeRequests)
Method Detail

getReadBytes

public long getReadBytes()
Returns:
Cumulative i/o byte/request count for each drive

getReadRequests

public long getReadRequests()
Returns:
Cumulative i/o byte/request count for each drive

getWriteBytes

public long getWriteBytes()
Returns:
Cumulative i/o byte/request count for each drive

getWriteRequests

public long getWriteRequests()
Returns:
Cumulative i/o byte/request count for each drive

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.