Examples of OptimizeType


Examples of org.opentripplanner.routing.core.OptimizeType

        request.bikeSpeed = bikeSpeedParam;
        int bikeSwitchTimeParam = get(bikeSwitchTime, n, request.bikeSwitchTime);
        request.bikeSwitchTime = bikeSwitchTimeParam;
        int bikeSwitchCostParam = get(bikeSwitchCost, n, request.bikeSwitchCost);
        request.bikeSwitchCost = bikeSwitchCostParam;
        OptimizeType opt = get(optimize, n, request.optimize);
        {
            Double tsafe =  get(triangleSafetyFactor, n, null);
            Double tslope = get(triangleSlopeFactor,  n, null);
            Double ttime =  get(triangleTimeFactor,   n, null);
            if (tsafe != null || tslope != null || ttime != null ) {
View Full Code Here

Examples of proj.zoie.api.indexing.OptimizeScheduler.OptimizeType

    synchronized(_optimizeMonitor)
    {
      try
      {
        _idxMgr.setDiskIndexerStatus(Status.Working);
        OptimizeType optType = _optScheduler.getScheduledOptimizeType();
        _idxMgr.setPartialExpunge(optType == OptimizeType.PARTIAL);
        try
        {
          System.out.println("DiskLuceneIndexDataLoader:consume(): disk consume");
          super.consume(events);
View Full Code Here

Examples of proj.zoie.api.indexing.OptimizeScheduler.OptimizeType

      {
        try
        {
          _idxMgr.setDiskIndexerStatus(Status.Working);
         
          OptimizeType optType = _optScheduler.getScheduledOptimizeType();
          _idxMgr.setPartialExpunge(optType == OptimizeType.PARTIAL);
          try
          {
            super.loadFromIndex(ramIndex);
          }
View Full Code Here

Examples of proj.zoie.api.indexing.OptimizeScheduler.OptimizeType

  public void consume(Collection<DataEvent<ZoieIndexable>> events) throws ZoieException {
    // updates the in memory status before and after the work
    synchronized (_optimizeMonitor) {
      try {
        _idxMgr.setDiskIndexerStatus(Status.Working);
        OptimizeType optType = _optScheduler.getScheduledOptimizeType();
        _idxMgr.setPartialExpunge(optType == OptimizeType.PARTIAL);
        try {
          super.consume(events);
        } finally {
          _optScheduler.finished();
View Full Code Here

Examples of proj.zoie.api.indexing.OptimizeScheduler.OptimizeType

  }

  @Override
  public void loadFromIndex(RAMSearchIndex<R> ramIndex) throws ZoieException {
    synchronized (_optimizeMonitor) {
      OptimizeType optType = _optScheduler.getScheduledOptimizeType();
      _idxMgr.setPartialExpunge(optType == OptimizeType.PARTIAL);
      try {
        super.loadFromIndex(ramIndex);
      } finally {
        _idxMgr.setDiskIndexerStatus(Status.Sleep);
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.