public abstract class OutputRateLimiter extends Object implements EternalReferencedHolder, Snapshotable
| Modifier and Type | Field and Description |
|---|---|
protected LatencyTracker |
latencyTracker |
protected LockWrapper |
lockWrapper |
protected OutputCallback |
outputCallback |
protected List<QueryCallback> |
queryCallbacks |
protected SiddhiQueryContext |
siddhiQueryContext |
| Constructor and Description |
|---|
OutputRateLimiter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addQueryCallback(QueryCallback callback) |
void |
clean()
Used to clean its references
|
abstract OutputRateLimiter |
clone(String key) |
String |
getElementId() |
OutputCallback |
getOutputCallback() |
boolean |
hasCallBack() |
void |
init(LockWrapper lockWrapper,
SiddhiQueryContext siddhiQueryContext) |
abstract void |
process(ComplexEventChunk complexEventChunk) |
void |
sendToCallBacks(ComplexEventChunk complexEventChunk) |
void |
setLatencyTracker(LatencyTracker latencyTracker) |
void |
setOutputCallback(OutputCallback outputCallback) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstart, stopcurrentState, restoreStateprotected List<QueryCallback> queryCallbacks
protected OutputCallback outputCallback
protected LatencyTracker latencyTracker
protected SiddhiQueryContext siddhiQueryContext
protected LockWrapper lockWrapper
public void init(LockWrapper lockWrapper, SiddhiQueryContext siddhiQueryContext)
public void sendToCallBacks(ComplexEventChunk complexEventChunk)
public void addQueryCallback(QueryCallback callback)
public abstract void process(ComplexEventChunk complexEventChunk)
public OutputCallback getOutputCallback()
public void setOutputCallback(OutputCallback outputCallback)
public boolean hasCallBack()
public abstract OutputRateLimiter clone(String key)
public String getElementId()
getElementId in interface Snapshotablepublic void setLatencyTracker(LatencyTracker latencyTracker)
public void clean()
Snapshotableclean in interface SnapshotableCopyright © 2019. All rights reserved.