Class QOSCallContext

java.lang.Object
org.distributeme.core.qos.QOSCallContext

public class QOSCallContext extends Object
A thread local that stores information for current request.
Since:
22.02.15 22:29
Version:
$Id: $Id
Author:
lrosenberg
  • Constructor Details

    • QOSCallContext

      public QOSCallContext()
  • Method Details

    • currentQOSCallContext

      public static QOSCallContext currentQOSCallContext()

      currentQOSCallContext.

      Returns:
      a QOSCallContext object.
    • getCallId

      public String getCallId()

      Getter for the field callId.

      Returns:
      a String object.
    • setCallId

      public void setCallId(String callId)

      Setter for the field callId.

      Parameters:
      callId - a String object.
    • getServiceId

      public String getServiceId()

      Getter for the field serviceId.

      Returns:
      a String object.
    • setServiceId

      public void setServiceId(String serviceId)

      Setter for the field serviceId.

      Parameters:
      serviceId - a String object.
    • 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

      public void setServiceCallIdAndTimestamp(String aServiceId, String aCallId, long aStartTime)

      setServiceCallIdAndTimestamp.

      Parameters:
      aServiceId - a String object.
      aCallId - a String object.
      aStartTime - a long.