public class ResponseTime extends Object implements Externalizable
Constructor and Description |
---|
ResponseTime()
Default constructor.
|
ResponseTime(ResponseTime rt)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getAverage()
This method returns the average.
|
List<Context> |
getContext()
This method gets the context.
|
String |
getFault()
This method gets the optional fault.
|
String |
getInterface()
This method gets the interface.
|
boolean |
getInternal()
This method identifies whether the service is internal.
|
long |
getMax()
This method returns the maximum duration.
|
long |
getMin()
This method returns the minimum duration.
|
String |
getOperation()
This method gets the operation.
|
Map<String,String> |
getProperties()
This method gets the properties.
|
ActivityTypeId |
getRequestId()
This method sets the request activity type id.
|
ActivityTypeId |
getResponseId()
This method sets the response activity type id.
|
String |
getServiceType()
This method gets the service type.
|
long |
getTimestamp()
This method returns the timestamp.
|
void |
readExternal(ObjectInput in) |
void |
setAverage(long average)
This method sets the average.
|
void |
setContext(List<Context> context)
This method sets the context.
|
void |
setFault(String fault)
This method sets the optional fault.
|
void |
setInterface(String intf)
This method sets the interface.
|
void |
setInternal(boolean b)
This method sets whether the service is internal (i.e.
|
void |
setMax(long time)
This method sets the maximum duration.
|
void |
setMin(long time)
This method sets the minimum duration.
|
void |
setOperation(String operation)
This method sets the operation.
|
void |
setProperties(Map<String,String> props)
This method sets the properties.
|
void |
setRequestId(ActivityTypeId id)
This method sets the request activity type id.
|
void |
setResponseId(ActivityTypeId id)
This method sets the response activity type id.
|
void |
setServiceType(String serviceType)
This method sets the service type.
|
void |
setTimestamp(long time)
This method sets the timestamp.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public ResponseTime()
public ResponseTime(ResponseTime rt)
rt
- The source to copypublic void setInterface(String intf)
intf
- The interfacepublic String getInterface()
public void setOperation(String operation)
operation
- The operationpublic String getOperation()
public void setFault(String fault)
fault
- The faultpublic String getFault()
public void setServiceType(String serviceType)
serviceType
- The service typepublic String getServiceType()
public void setInternal(boolean b)
b
- Whether the service is internalpublic boolean getInternal()
public void setAverage(long average)
average
- The averagepublic long getAverage()
public void setMax(long time)
time
- The maximum durationpublic long getMax()
public void setMin(long time)
time
- The minimum durationpublic long getMin()
public void setTimestamp(long time)
time
- The timestamppublic long getTimestamp()
public void setRequestId(ActivityTypeId id)
id
- The request activity type idpublic ActivityTypeId getRequestId()
public void setResponseId(ActivityTypeId id)
id
- The response activity type idpublic ActivityTypeId getResponseId()
public void setProperties(Map<String,String> props)
props
- The propertiespublic Map<String,String> getProperties()
public void setContext(List<Context> context)
context
- The contextpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.