com.espertech.esper.core.service
Class StatementContextFactoryDefault.AnnotationAnalysisResult

java.lang.Object
  extended by com.espertech.esper.core.service.StatementContextFactoryDefault.AnnotationAnalysisResult
Enclosing class:
StatementContextFactoryDefault

public static class StatementContextFactoryDefault.AnnotationAnalysisResult
extends java.lang.Object

Analysis result of analysing annotations for a statement.


Method Summary
static StatementContextFactoryDefault.AnnotationAnalysisResult analyzeAnnotations(java.lang.annotation.Annotation[] annotations)
          Analyze the annotations and return priority and drop settings.
 int getPriority()
          Returns execution priority.
 boolean isPremptive()
          Returns preemptive indicator (drop or normal).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPriority

public int getPriority()
Returns execution priority.

Returns:
priority.

isPremptive

public boolean isPremptive()
Returns preemptive indicator (drop or normal).

Returns:
true for drop

analyzeAnnotations

public static StatementContextFactoryDefault.AnnotationAnalysisResult analyzeAnnotations(java.lang.annotation.Annotation[] annotations)
Analyze the annotations and return priority and drop settings.

Parameters:
annotations - to analyze
Returns:
analysis result

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