public class DurationFunctionSampledEventArgs extends EventArgs
Constructor and Description |
---|
DurationFunctionSampledEventArgs(DurationFunctionDetails function,
Duration sampleDuration,
double sampleValue)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
DurationFunctionDetails |
getFunction()
Gets the function that was sampled.
|
Duration |
getSampleDuration()
Gets the duration at which the function was sampled.
|
double |
getSampleValue()
Gets the value that was sampled from the function.
|
public DurationFunctionSampledEventArgs(DurationFunctionDetails function, @Nonnull Duration sampleDuration, double sampleValue)
function
- The function that was sampled.sampleDuration
- The duration at which the function was sampled.sampleValue
- The value that was sampled from the function.public final DurationFunctionDetails getFunction()
@Nonnull public final Duration getSampleDuration()
public final double getSampleValue()