Examples of Threshold


Examples of com.bitfire.postprocessing.filters.Threshold

  public Bloom (int fboWidth, int fboHeight) {
    pingPongBuffer = PostProcessor.newPingPongBuffer(fboWidth, fboHeight, PostProcessor.getFramebufferFormat(), false);

    blur = new Blur(fboWidth, fboHeight);
    threshold = new Threshold();
    combine = new Combine();

    setSettings(new Settings("default", 2, 0.277f, 1f, .85f, 1.1f, .85f));
  }
View Full Code Here

Examples of com.taobao.top.analysis.util.Threshold

 
  public StatisticsEngine()
  {
    inputAdaptors = new ArrayList<IInputAdaptor>();
    outputAdaptors = new ArrayList<IOutputAdaptor>();
    threshold = new Threshold(1000);
  }
View Full Code Here

Examples of com.taobao.top.analysis.util.Threshold

   */
  private static final long serialVersionUID = 7568020685361775161L;
  protected Threshold threshold;
 
  public AbstractMapper() {
      threshold = new Threshold(300);
  }
View Full Code Here

Examples of com.taobao.top.analysis.util.Threshold

    private ConcurrentMap<String, Long> timestampMap;

  public Job()
  {
    jobTasks = new ArrayList<JobTask>();
    threshold = new Threshold(5000);
    trunkLock = new ReentrantReadWriteLock();
    loadLock = new ReentrantLock();
    waitlock = new ReentrantLock();
    waitToJobReset = waitlock.newCondition();
    merged = new AtomicBoolean(false);
View Full Code Here

Examples of com.taobao.top.analysis.util.Threshold

    sequenceGen = new AtomicLong(0);
    hardWorkTimer = new AtomicLong(0);
    slaveConnector.setConfig(config);
    statisticsEngine.setConfig(config);
    monitor.setConfig(config);
    threshold = new Threshold(5000);
    monitor.setSlaveConnector(slaveConnector);
   
    analysisWorkerThreadPool = new ThreadPoolExecutor(
        this.config.getAnalysisWorkerNum(),
        this.config.getAnalysisWorkerNum(), 0,
View Full Code Here

Examples of inspector.jqcml.model.Threshold

          qp.getUnitCvRef().setPrimaryKey(key);
      }
     
      // check all Thresholds
      for(Iterator<Threshold> thresholdIt = qp.getThresholdIterator(); thresholdIt.hasNext(); ) {
        Threshold threshold = thresholdIt.next();
        if(threshold.getCvRef() != null && threshold.getCvRef().getPrimaryKey() == 0) {
          Integer key = cvIds.get(threshold.getCvRef().getId());
          if(key != null)
            threshold.getCvRef().setPrimaryKey(key);
        }
        if(threshold.getUnitCvRef() != null && threshold.getUnitCvRef().getPrimaryKey() == 0) {
          Integer key = cvIds.get(threshold.getUnitCvRef().getId());
          if(key != null)
            threshold.getUnitCvRef().setPrimaryKey(key);
        }
      }
    }
   
    // check all AttachmentParameters in this QualityAssessment
View Full Code Here

Examples of it.eng.spagobi.kpi.threshold.bo.Threshold

public class DetailThresholdsUtil {

  public static void selectThreshold(Integer id, SourceBean serviceResponse)
      throws SourceBeanException, EMFUserError {
    Threshold toReturn = DAOFactory.getThresholdDAO().loadThresholdById(id);
    serviceResponse.setAttribute("THRESHOLD", toReturn);
  }
View Full Code Here

Examples of it.eng.spagobi.kpi.threshold.bo.Threshold

    serviceResponse.setAttribute("THRESHOLD", toReturn);
  }

  public static void updateThresholdFromRequest(SourceBean serviceRequest,
      Integer id) throws EMFUserError {
    Threshold threshold = getThresholdFromRequest(serviceRequest);
    threshold.setId(id);
    DAOFactory.getThresholdDAO().modifyThreshold(threshold);
  }
View Full Code Here

Examples of it.eng.spagobi.kpi.threshold.bo.Threshold

        String kpiName = k.getKpiName();
        String thresholdName = "";
        List thresholdValues = null;
        if(kI.getThresholdId()!=null){
          thresholdValues=DAOFactory.getThresholdValueDAO().loadThresholdValuesByThresholdId(kI.getThresholdId());
          Threshold thres = DAOFactory.getThresholdDAO().loadThresholdById(kI.getThresholdId());
          thresholdName = thres.getName();
        }
       
        if (kpiCode!=null){
          serviceResponse.setAttribute("KPI_CODE", kpiCode);
        }else{
View Full Code Here

Examples of it.eng.spagobi.kpi.threshold.bo.Threshold

   
    if (sThresholdTypeId != null && ! (sThresholdTypeId.trim().equals(""))) {
      thresholdTypeId = Integer.parseInt(sThresholdTypeId);
    }

    Threshold toReturn = new Threshold();

    toReturn.setName(name);
    toReturn.setDescription(description);
    toReturn.setCode(code);
    toReturn.setThresholdTypeId(thresholdTypeId);

    return toReturn;
  }
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.