public class StatisticalSampleSender extends Object implements SampleSender, Serializable
| Constructor and Description |
|---|
StatisticalSampleSender()
Deprecated.
only for use by test code
|
| Modifier and Type | Method and Description |
|---|---|
void |
sampleOccurred(SampleEvent e)
Stores sample events untill either a time or sample threshold is
breached.
|
void |
testEnded()
Checks if any sample events are still present in the sampleStore and
sends them to the listener.
|
void |
testEnded(String host)
Checks if any sample events are still present in the sampleStore and
sends them to the listener.
|
@Deprecated public StatisticalSampleSender()
public void testEnded()
testEnded in interface SampleSenderpublic 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-2012 Apache Software Foundation. All Rights Reserved.