public interface SampleSource extends Runnable
| Modifier and Type | Method and Description |
|---|---|
void |
addSampleConsumer(SampleConsumer consumer)
Add a sample consumer to this sample source.
|
SampleContext |
getSampleContext()
Gets the sample context.
|
void |
removeSampleConsumer(SampleConsumer consumer)
Remove a sample consumer from this sample source.
|
void |
setSampleConsumers(List<SampleConsumer> consumers)
Sets the specified sample consumers that will consume samples produced by
this sample source.
|
void |
setSampleContext(SampleContext sampleContext)
Sets the sample context.
|
SampleContext getSampleContext()
void setSampleContext(SampleContext sampleContext)
sampleContext - the sampleContext to setvoid setSampleConsumers(List<SampleConsumer> consumers)
consumers - consumers to be setvoid addSampleConsumer(SampleConsumer consumer)
consumer - consumer to be addedvoid removeSampleConsumer(SampleConsumer consumer)
consumer - consumer to be removedCopyright © 1998-2020 Apache Software Foundation. All Rights Reserved.