com.espertech.esper.epl.core
Class MethodPollingViewableFactory

java.lang.Object
  extended by com.espertech.esper.epl.core.MethodPollingViewableFactory

public class MethodPollingViewableFactory
extends java.lang.Object

Factory for method-invocation data provider streams.


Nested Class Summary
static class MethodPollingViewableFactory.MethodMetadataDesc
           
 
Constructor Summary
MethodPollingViewableFactory()
           
 
Method Summary
static HistoricalEventViewable createPollMethodView(int streamNumber, MethodStreamSpec methodStreamSpec, EventAdapterService eventAdapterService, EPStatementAgentInstanceHandle epStatementAgentInstanceHandle, MethodResolutionService methodResolutionService, EngineImportService engineImportService, SchedulingService schedulingService, ScheduleBucket scheduleBucket, ExprEvaluatorContext exprEvaluatorContext, VariableService variableService, java.lang.String contextName)
          Creates a method-invocation polling view for use as a stream that calls a method, or pulls results from cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodPollingViewableFactory

public MethodPollingViewableFactory()
Method Detail

createPollMethodView

public static HistoricalEventViewable createPollMethodView(int streamNumber,
                                                           MethodStreamSpec methodStreamSpec,
                                                           EventAdapterService eventAdapterService,
                                                           EPStatementAgentInstanceHandle epStatementAgentInstanceHandle,
                                                           MethodResolutionService methodResolutionService,
                                                           EngineImportService engineImportService,
                                                           SchedulingService schedulingService,
                                                           ScheduleBucket scheduleBucket,
                                                           ExprEvaluatorContext exprEvaluatorContext,
                                                           VariableService variableService,
                                                           java.lang.String contextName)
                                                    throws ExprValidationException
Creates a method-invocation polling view for use as a stream that calls a method, or pulls results from cache.

Parameters:
streamNumber - the stream number
methodStreamSpec - defines the class and method to call
eventAdapterService - for creating event types and events
epStatementAgentInstanceHandle - for time-based callbacks
methodResolutionService - for resolving classes and imports
engineImportService - for resolving configurations
schedulingService - for scheduling callbacks in expiry-time based caches
scheduleBucket - for schedules within the statement
exprEvaluatorContext - expression evaluation context
Returns:
pollable view
Throws:
ExprValidationException - if the expressions cannot be validated or the method descriptor has incorrect class and method names, or parameter number and types don't match

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com