public interface ActiveTriggerCallback
ActiveTriggerPolicy is used, it can implement own
Runnable classes. Such Runnable classes will be executed as
an own thread and can submit fake elements, to the element buffer at any
time.
The factory method for runnables of the ActiveTriggerPolicy gets an
instance of this interface as parameter. The describes adding of elements can
be done by the runnable using the methods provided in this interface.| Modifier and Type | Method and Description |
|---|---|
void |
sendFakeElement(Object datapoint)
Submits a new fake data point to the element buffer.
|
void sendFakeElement(Object datapoint)
ActiveTriggerPolicy and
ActiveEvictionPolicy implementations.datapoint - the fake data point to be addedCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.