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

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

public class CallTimeDataKey
extends Object
implements Serializable

A key used to lookup all call-time data ((i.e. a set of CallTimeDataValues)) for a particular destination (e.g. a URL or an EJB method name).

See Also:
Serialized Form

Field Summary
static int DESTINATION_MAX_LENGTH
           
static String QUERY_DELETE_BY_RESOURCES
           
 
Constructor Summary
protected CallTimeDataKey()
           
  CallTimeDataKey(MeasurementSchedule schedule, String callDestination)
          Create a new CallTimeDataKey.
 
Method Summary
 String getCallDestination()
           
 int getId()
           
 MeasurementSchedule getSchedule()
           
 void setId(int id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_DELETE_BY_RESOURCES

public static final String QUERY_DELETE_BY_RESOURCES
See Also:
Constant Field Values

DESTINATION_MAX_LENGTH

public static final int DESTINATION_MAX_LENGTH
See Also:
Constant Field Values
Constructor Detail

CallTimeDataKey

public CallTimeDataKey(@NotNull
                       MeasurementSchedule schedule,
                       @NotNull
                       String callDestination)
Create a new CallTimeDataKey.

Parameters:
schedule - the collection schedule corresponding to this call-time data
callDestination - the call destination (e.g. a URL or an EJB name)

CallTimeDataKey

protected CallTimeDataKey()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getSchedule

@Nullable
public MeasurementSchedule getSchedule()

getCallDestination

@NotNull
public String getCallDestination()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.