Class ContextControllerInitTermUtil
java.lang.Object
com.espertech.esper.common.internal.context.controller.initterm.ContextControllerInitTermUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildPartitionKey
(EventBean optionalTriggeringEvent, Map<String, Object> optionalTriggeringPattern, ContextControllerCondition endCondition, ContextControllerInitTerm controller) static long
computeScheduleMinimumDelta
(ScheduleSpec[] schedules, long time, ClasspathImportServiceRuntime classpathImportService) static long
computeScheduleMinimumNextOccurance
(ScheduleSpec[] schedules, long time, ClasspathImportServiceRuntime classpathImportService) static boolean
determineCurrentlyRunning
(ContextControllerCondition startCondition, ContextControllerInitTerm controller) static ContextControllerInitTermSvc
keyToIdentifier
(int subpathIdOrCPId, ContextControllerInitTermPartitionKey key, ContextControllerInitTerm controller)
-
Constructor Details
-
ContextControllerInitTermUtil
public ContextControllerInitTermUtil()
-
-
Method Details
-
getService
-
determineCurrentlyRunning
public static boolean determineCurrentlyRunning(ContextControllerCondition startCondition, ContextControllerInitTerm controller) -
buildPartitionKey
public static ContextControllerInitTermPartitionKey buildPartitionKey(EventBean optionalTriggeringEvent, Map<String, Object> optionalTriggeringPattern, ContextControllerCondition endCondition, ContextControllerInitTerm controller) -
keyToIdentifier
public static ContextPartitionIdentifierInitiatedTerminated keyToIdentifier(int subpathIdOrCPId, ContextControllerInitTermPartitionKey key, ContextControllerInitTerm controller) -
computeScheduleMinimumNextOccurance
public static long computeScheduleMinimumNextOccurance(ScheduleSpec[] schedules, long time, ClasspathImportServiceRuntime classpathImportService) -
computeScheduleMinimumDelta
public static long computeScheduleMinimumDelta(ScheduleSpec[] schedules, long time, ClasspathImportServiceRuntime classpathImportService)
-