Package org.distributeme.core.qos
Class QOSCallContext
java.lang.Object
org.distributeme.core.qos.QOSCallContext
A thread local that stores information for current request.
- Since:
- 22.02.15 22:29
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QOSCallContextcurrentQOSCallContext.Getter for the fieldcallId.Getter for the fieldserviceId.longGetter for the fieldstartTime.voidSetter for the fieldcallId.voidsetServiceCallIdAndTimestamp(String aServiceId, String aCallId, long aStartTime) setServiceCallIdAndTimestamp.voidsetServiceId(String serviceId) Setter for the fieldserviceId.voidsetStartTime(long startTime) Setter for the fieldstartTime.
-
Constructor Details
-
QOSCallContext
public QOSCallContext()
-
-
Method Details
-
currentQOSCallContext
currentQOSCallContext.
- Returns:
- a
QOSCallContextobject.
-
getCallId
Getter for the field
callId.- Returns:
- a
Stringobject.
-
setCallId
Setter for the field
callId.- Parameters:
callId- aStringobject.
-
getServiceId
Getter for the field
serviceId.- Returns:
- a
Stringobject.
-
setServiceId
Setter for the field
serviceId.- Parameters:
serviceId- aStringobject.
-
getStartTime
public long getStartTime()Getter for the field
startTime.- Returns:
- a long.
-
setStartTime
public void setStartTime(long startTime) Setter for the field
startTime.- Parameters:
startTime- a long.
-
setServiceCallIdAndTimestamp
setServiceCallIdAndTimestamp.
-