public EPRuntimeCompileReflectiveSPI getReflectiveCompileSvc() { if (compileReflective == null) { compileReflective = new EPRuntimeCompileReflectiveSPI(new EPRuntimeCompileReflectiveService(), this); } return compileReflective; }
public Map<DeploymentIdNamePair, Long> getStatementNearestSchedules() { return getStatementNearestSchedulesInternal(services.getSchedulingService(), services.getStatementLifecycleService()); }
/** * Sets runtime configuration information for use in the next initialize. * * @param configuration is the runtimeconfigs */ public void setConfiguration(Configuration configuration) { configLastProvided = takeSnapshot(configuration); }
public EPRuntimeStatementSelectionSPI(EPRuntimeSPI runtimeSPI) { this.runtimeSPI = runtimeSPI; statementRowType = new EPRuntimeBeanAnonymousTypeService().makeBeanEventTypeAnonymous(StatementRow.class); }
public void traverseStatementsFilterExpr(BiConsumer<EPDeployment, EPStatement> consumer, ExprNode filterExpr) throws EPException { runtimeSPI.traverseStatements((deployment, stmt) -> { if (evaluateStatement(filterExpr, stmt)) { consumer.accept(deployment, stmt); } }); }
public ThreadingService getThreadingService() { if (runtimeEnvironment == null) { throw new EPRuntimeDestroyedException(runtimeURI); } return runtimeEnvironment.getServices().getThreadingService(); }
private void initializeInternal(Long currentTime) { doInitialize(currentTime); postInitialize(); }
public EPRenderEventService getRenderEventService() { if (runtimeEnvironment == null) { throw new EPRuntimeDestroyedException(runtimeURI); } return runtimeEnvironment.getServices().getEventRenderer(); }
public Context getContext() { if (runtimeEnvironment == null) { throw new EPRuntimeDestroyedException(runtimeURI); } return runtimeEnvironment.getServices().getRuntimeEnvContext(); }
public EPDataFlowService getDataFlowService() { if (runtimeEnvironment == null) { throw new EPRuntimeDestroyedException(runtimeURI); } return runtimeEnvironment.getServices().getDataflowService(); }
public EPFireAndForgetQueryResult executeQuery(EPFireAndForgetPreparedQueryParameterized parameterizedQuery) { return executeQueryPrepared(parameterizedQuery, null); }
public void destroy() { if (epServicesHA != null) { epServicesHA.destroy(); } }
public EPRuntimeStatementSelectionSPI getStatementSelectionSvc() { if (statementSelection == null) { statementSelection = new EPRuntimeStatementSelectionSPI(this); } return statementSelection; }
/** * Destroy for destroying an runtime instance: sets references to null and clears thread-locals */ public void destroy() { services = null; removeFromThreadLocals(); matchesArrayThreadLocal = null; matchesPerStmtThreadLocal = null; scheduleArrayThreadLocal = null; schedulePerStmtThreadLocal = null; }
private static EPRuntimeSPI getRuntimeInternal(Configuration configuration, String runtimeURINonNull) { return new EPRuntimeImpl(configuration, runtimeURINonNull, runtimes); } }
public Module reflectiveParseModule(String epl) { return provider.reflectiveParseModule(epl); } }
public void destroy() { ((RuntimeExtensionServicesSPI) runtimeExtensionServices).destroy(); } }
public void undeploy(String deploymentId, UndeploymentOptions options) throws EPUndeployException { undeployRemoveInternal(deploymentId, options); }
public EPRuntimeCompileReflectiveService() { this.available = init(); }
public EPFireAndForgetQueryResult executeQuery(EPFireAndForgetPreparedQueryParameterized parameterizedQuery, ContextPartitionSelector[] selectors) { return executeQueryPrepared(parameterizedQuery, selectors); }