* @param services - references to services
*/
public EPRuntimeImpl(final EPServicesContext services)
{
this.services = services;
this.threadWorkQueue = new ThreadWorkQueue();
isLatchStatementInsertStream = this.services.getEngineSettingsService().getEngineSettings().getThreading().isInsertIntoDispatchPreserveOrder();
isUsingExternalClocking = !this.services.getEngineSettingsService().getEngineSettings().getThreading().isInternalTimerEnabled();
isSubselectPreeval = services.getEngineSettingsService().getEngineSettings().getExpression().isSelfSubselectPreeval();
isPrioritized = services.getEngineSettingsService().getEngineSettings().getExecution().isPrioritized();
routedInternal = new AtomicLong();