TPTP 4.0.0 Monitoring Tools Project
Public API Specification

org.eclipse.hyades.logging.adapter.impl
Class SensorStatus

java.lang.Object
  extended byorg.eclipse.hyades.logging.adapter.impl.Status
      extended byorg.eclipse.hyades.logging.adapter.impl.SensorStatus
All Implemented Interfaces:
IStatus

public class SensorStatus
extends Status

This class represents the status for a Sensor


Constructor Summary
SensorStatus()
           
 
Method Summary
 long getProcessedSize()
          Get the total size of data processed so far.
 long getTotalSize()
          Get the total size of the input source.
 void incrementProcessedSize(long processedSize)
          Increment the total processsed size value
 void setProcessedSize(long processedSize)
          Set the total size of data processed so far.
 void setTotalSize(long totalSize)
          Set the total size of the input source
 
Methods inherited from class org.eclipse.hyades.logging.adapter.impl.Status
getChildrenStatus, getChildStatus, getElapsedTimeInMilliseconds, getElpasedTimeInSeconds, getItemsProcessedCount, getName, isActive, setActive, setChildrenStatus, setItemsProcessedCount, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensorStatus

public SensorStatus()
Method Detail

getProcessedSize

public long getProcessedSize()
Get the total size of data processed so far.

Returns:
the total size of the data processed.

incrementProcessedSize

public void incrementProcessedSize(long processedSize)
Increment the total processsed size value

Parameters:
processedSize - The amount to increment processedSize by.

getTotalSize

public long getTotalSize()
Get the total size of the input source.

Returns:
the total size of the input source as a long

setTotalSize

public void setTotalSize(long totalSize)
Set the total size of the input source

Parameters:
totalSize - - the total size of the input source as a long.

setProcessedSize

public void setProcessedSize(long processedSize)
Set the total size of data processed so far.

Parameters:
processedSize - - the total size of the data processed.

TPTP 4.0.0 Monitoring Tools Project
Public API Specification