org.rhq.core.domain.measurement.calltime
Class CallTimeDataValue

java.lang.Object
  extended by org.rhq.core.domain.measurement.calltime.CallTimeDataValue
All Implemented Interfaces:
Serializable

public class CallTimeDataValue
extends Object
implements Serializable

Measurement data for a set of calls to a particular destination over a certain time span.

See Also:
Serialized Form

Field Summary
static String QUERY_DELETE_BY_RESOURCES
           
static String QUERY_FIND_COMPOSITES_FOR_RESOURCE
           
 
Constructor Summary
CallTimeDataValue()
           
CallTimeDataValue(Date beginTime, Date endTime)
          Create a new CallTimeDataValue.
 
Method Summary
 long getBeginTime()
           
 long getCount()
           
 long getEndTime()
           
 int getId()
           
 CallTimeDataKey getKey()
           
 double getMaximum()
           
 double getMinimum()
           
 double getTotal()
           
 void mergeCallTime(double callTime)
           
 void setCount(long count)
           
 void setKey(CallTimeDataKey key)
           
 void setMaximum(double maximum)
           
 void setMinimum(double minimum)
           
 void setTotal(double total)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_COMPOSITES_FOR_RESOURCE

public static final String QUERY_FIND_COMPOSITES_FOR_RESOURCE
See Also:
Constant Field Values

QUERY_DELETE_BY_RESOURCES

public static final String QUERY_DELETE_BY_RESOURCES
See Also:
Constant Field Values
Constructor Detail

CallTimeDataValue

public CallTimeDataValue(Date beginTime,
                         Date endTime)
Create a new CallTimeDataValue.

Parameters:
beginTime - the begin time of the time range for which the call-time data was collected
endTime - the end time of the time range for which the call-time data was collected

CallTimeDataValue

public CallTimeDataValue()
Method Detail

getId

public int getId()

getKey

@Nullable
public CallTimeDataKey getKey()

setKey

public void setKey(@Nullable
                   CallTimeDataKey key)

getBeginTime

public long getBeginTime()

getEndTime

public long getEndTime()

getMinimum

public double getMinimum()

setMinimum

public void setMinimum(double minimum)

getMaximum

public double getMaximum()

setMaximum

public void setMaximum(double maximum)

getTotal

public double getTotal()

setTotal

public void setTotal(double total)

getCount

public long getCount()

setCount

public void setCount(long count)

mergeCallTime

public void mergeCallTime(double callTime)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.