public abstract class OutputRateLimiter extends Object implements EternalReferencedHolder, Snapshotable
| Modifier and Type | Field and Description |
|---|---|
protected ExecutionPlanContext |
executionPlanContext |
protected LatencyTracker |
latencyTracker |
protected LockWrapper |
lockWrapper |
protected OutputCallback |
outputCallback |
protected List<QueryCallback> |
queryCallbacks |
protected String |
queryName |
| Constructor and Description |
|---|
OutputRateLimiter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addQueryCallback(QueryCallback callback) |
abstract OutputRateLimiter |
clone(String key) |
String |
getElementId() |
OutputCallback |
getOutputCallback() |
boolean |
hasCallBack() |
void |
init(ExecutionPlanContext executionPlanContext,
LockWrapper lockWrapper,
String queryName) |
abstract void |
process(ComplexEventChunk complexEventChunk) |
protected 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 ExecutionPlanContext executionPlanContext
protected LatencyTracker latencyTracker
protected LockWrapper lockWrapper
protected String queryName
public void init(ExecutionPlanContext executionPlanContext, LockWrapper lockWrapper, String queryName)
protected void sendToCallBacks(ComplexEventChunk complexEventChunk)
public void addQueryCallback(QueryCallback callback)
public void setOutputCallback(OutputCallback outputCallback)
public abstract void process(ComplexEventChunk complexEventChunk)
public OutputCallback getOutputCallback()
public boolean hasCallBack()
public abstract OutputRateLimiter clone(String key)
public String getElementId()
getElementId in interface Snapshotablepublic void setLatencyTracker(LatencyTracker latencyTracker)
Copyright © 2018 WSO2. All Rights Reserved.