Class ProbeAndRequestContext
- java.lang.Object
-
- org.palladiosimulator.probeframework.measurement.ProbeAndRequestContext
-
public final class ProbeAndRequestContext extends Object
Data class representing a (Probe,RequestContext
)-pair. The combination of probe and request context uniquely identifies data objects.
-
-
Constructor Summary
Constructors Constructor Description ProbeAndRequestContext(Probe probe, RequestContext requestContext)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Probe
getProbe()
Returns the probe.RequestContext
getRequestContext()
Returns theRequestContext
.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ProbeAndRequestContext
public ProbeAndRequestContext(Probe probe, RequestContext requestContext)
Default constructor. Constructs a pair consisting of a probe and aRequestContext
.- Parameters:
probe
- The measured probe.requestContext
- The RequestContext.
-
-
Method Detail
-
getProbe
public final Probe getProbe()
Returns the probe.- Returns:
- The probe.
-
getRequestContext
public final RequestContext getRequestContext()
Returns theRequestContext
.- Returns:
- The context.
-
-