Examples of UnboundedProcessingSettings


Examples of org.nebulaframework.core.job.annotations.unbounded.UnboundedProcessingSettings

    }
   
    Class<?> clazz = job.getClass();
   
    // Get reference to ProcessingSettings annotation
    UnboundedProcessingSettings settings = clazz.getAnnotation(UnboundedProcessingSettings.class);
   
    // If not annotated, return
    if (settings==null) return;
   
    // If available, retrieve settings
    this.maxTaskConstant = settings.maxTasksInQueue();
    this.reductionFactorConstant = settings.reductionFactor();
    this.stopOnNullTask = settings.stopOnNullTask();
    this.mutuallyExclusiveTasks = settings.mutuallyExclusiveTasks();
   
    log.debug("[UnboundedJobProcessor] Using Custom Processing Settings from Annotation");
   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.