public abstract class ExpressionViewBase extends ViewSupport implements DataWindowView, CloneableView, StoppableView, VariableChangeCallback, StopCallback
Modifier and Type | Field and Description |
---|---|
protected AgentInstanceViewFactoryChainContext |
agentInstanceContext |
protected List<AggregationServiceAggExpressionDesc> |
aggregateNodes |
protected AggregationService |
aggregationService |
protected ObjectArrayEventBean |
builtinEventProps |
protected EventBean[] |
eventsPerStream |
protected ExprEvaluator |
expiryExpression |
protected EPStatementHandleCallback |
scheduleHandle |
protected long |
scheduleSlot |
protected Set<String> |
variableNames |
protected ViewUpdatedCollection |
viewUpdatedCollection |
EMPTY_VIEW_ARRAY, parent
Constructor and Description |
---|
ExpressionViewBase(ViewUpdatedCollection viewUpdatedCollection,
ExprEvaluator expiryExpression,
AggregationServiceFactoryDesc aggregationServiceFactoryDesc,
ObjectArrayEventBean builtinEventProps,
Set<String> variableNames,
AgentInstanceViewFactoryChainContext agentInstanceContext) |
Modifier and Type | Method and Description |
---|---|
AggregationService |
getAggregationService() |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
abstract String |
getViewName() |
ViewUpdatedCollection |
getViewUpdatedCollection() |
abstract void |
scheduleCallback()
Implemented to check the expiry expression.
|
void |
stop()
Stops the underlying resources.
|
void |
stopScheduleAndVar() |
void |
stopView() |
String |
toString() |
void |
update(Object newValue,
Object oldValue)
Indicate a change in variable value.
|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren, updateChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addView, getViews, hasViews, removeAllViews, removeView
iterator
forEach, spliterator
visitView
getViewFactory
cloneView
protected final ViewUpdatedCollection viewUpdatedCollection
protected final ExprEvaluator expiryExpression
protected final ObjectArrayEventBean builtinEventProps
protected final EventBean[] eventsPerStream
protected final AgentInstanceViewFactoryChainContext agentInstanceContext
protected final long scheduleSlot
protected final EPStatementHandleCallback scheduleHandle
protected final AggregationService aggregationService
protected final List<AggregationServiceAggExpressionDesc> aggregateNodes
public ExpressionViewBase(ViewUpdatedCollection viewUpdatedCollection, ExprEvaluator expiryExpression, AggregationServiceFactoryDesc aggregationServiceFactoryDesc, ObjectArrayEventBean builtinEventProps, Set<String> variableNames, AgentInstanceViewFactoryChainContext agentInstanceContext)
public abstract void scheduleCallback()
public abstract String getViewName()
public final EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public void stopView()
public void stop()
StopCallback
stop
in interface StopCallback
public void stopScheduleAndVar()
public void update(Object newValue, Object oldValue)
VariableChangeCallback
update
in interface VariableChangeCallback
newValue
- new valueoldValue
- old valuepublic ViewUpdatedCollection getViewUpdatedCollection()
public AggregationService getAggregationService()