Serializable, SampleSenderpublic class StatisticalSampleSender extends AbstractSampleSender implements Serializable
| Constructor | Description |
|---|---|
StatisticalSampleSender() |
Deprecated.
only for use by test code
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
sampleOccurred(SampleEvent e) |
Stores sample events until either a time or sample threshold is
breached.
|
void |
testEnded(String host) |
Checks if any sample events are still present in the sampleStore and
sends them to the listener.
|
isClientConfigured, testEnded@Deprecated public StatisticalSampleSender()
public void testEnded(String host)
testEnded in interface SampleSenderhost - the hostname that the test has ended on.public void sampleOccurred(SampleEvent e)
sampleOccurred in interface SampleSendere - a Sample EventCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.