Package com.espertech.esper.core

Examples of com.espertech.esper.core.EPStatementHandleCallback


                OutputConditionCrontab.this.isCallbackScheduled = false;
                OutputConditionCrontab.this.outputCallback.continueOutputProcessing(DO_OUTPUT, FORCE_UPDATE);
                scheduleCallback();
            }
        };
        EPStatementHandleCallback handle = new EPStatementHandleCallback(context.getEpStatementHandle(), callback);
        context.getSchedulingService().add(scheduleSpec, handle, scheduleSlot);
    }
View Full Code Here


    }

    private void startFiltering()
    {
        PatternContext context = evalFilterNode.getContext();
        handle = new EPStatementHandleCallback(context.getEpStatementHandle(), this);
        FilterValueSet filterValues = evalFilterNode.getFilterSpec().getValueSet(beginState);
        context.getFilterService().add(filterValues, handle);
        long filtersVersion = context.getFilterService().getFiltersVersion();
        context.getStatementFilterVersion().setStmtFilterVersion(filtersVersion);
    }
View Full Code Here

                public void scheduledTrigger(ExtensionServicesContext extensionServicesContext)
                {
                    EventRowRegexNFAView.this.triggered();
                }
            };
            handle = new EPStatementHandleCallback(statementContext.getEpStatementHandle(), callback);
            schedule = new TreeMap<Long, Object>();
        }
        else
        {
            scheduleSlot = null;
View Full Code Here

                {
                    return isSubSelect;
                }
            };
        }
        EPStatementHandleCallback handle = new EPStatementHandleCallback(epStatementHandle, filterCallback);

        // Store stream for reuse
        pair = new Pair<EventStream, EPStatementHandleCallback>(eventStream, handle);
        if (forceNewStream)
        {
View Full Code Here

                OutputConditionExpression.this.isCallbackScheduled = false;
                OutputConditionExpression.this.outputCallback.continueOutputProcessing(true, true);
                resetBuiltinProperties();
            }
        };
        EPStatementHandleCallback handle = new EPStatementHandleCallback(context.getEpStatementHandle(), callback);
        context.getSchedulingService().add(0, handle, scheduleSlot);

        // execute assignments
        if (variableReadWritePackage != null)
        {
View Full Code Here

            public void scheduledTrigger(ExtensionServicesContext extensionServicesContext)
            {
                FirstTimeView.this.isClosed = true;
            }
        };
        handle = new EPStatementHandleCallback(statementContext.getEpStatementHandle(), callback);
        statementContext.getSchedulingService().add(afterMSec, handle, scheduleSlot);
    }
View Full Code Here

                public void scheduledTrigger(ExtensionServicesContext extensionServicesContext)
                {
                    EventRowRegexNFAView.this.triggered();
                }
            };
            handle = new EPStatementHandleCallback(statementContext.getEpStatementHandle(), callback);
            schedule = new TreeMap<Long, Object>();
        }
        else
        {
            scheduleSlot = null;
View Full Code Here

                OutputConditionCrontab.this.isCallbackScheduled = false;
                OutputConditionCrontab.this.outputCallback.continueOutputProcessing(DO_OUTPUT, FORCE_UPDATE);
                scheduleCallback();
            }
        };
        EPStatementHandleCallback handle = new EPStatementHandleCallback(context.getEpStatementHandle(), callback);
        context.getSchedulingService().add(scheduleSpec, handle, scheduleSlot);
    }
View Full Code Here

    }

    private void startFiltering()
    {
        PatternContext context = evalFilterNode.getContext();
        handle = new EPStatementHandleCallback(context.getEpStatementHandle(), this);
        FilterValueSet filterValues = evalFilterNode.getFilterSpec().getValueSet(beginState);
        context.getFilterService().add(filterValues, handle);
        long filtersVersion = context.getFilterService().getFiltersVersion();
        context.getStatementFilterVersion().setStmtFilterVersion(filtersVersion);
    }
View Full Code Here

    public void startGuard() {
        if (isTimerActive) {
            throw new IllegalStateException("Timer already active");
        }

        scheduleHandle = new EPStatementHandleCallback(quitable.getContext().getEpStatementHandle(), this);
        quitable.getContext().getSchedulingService().add(msec, scheduleHandle, scheduleSlot);
        isTimerActive = true;
        counter = 0;
    }
View Full Code Here

TOP

Related Classes of com.espertech.esper.core.EPStatementHandleCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.