Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for forceStop (0.07 sec)

  1. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        }
    
        @PreDestroy
        public void destroy() {
            if (!finishCrawling) {
                if (logger.isInfoEnabled()) {
                    logger.info("Stopping all crawler.");
                }
                forceStop();
            }
        }
    
        public void addFinishedSessionId(final String sessionId) {
            synchronized (finishedSessionIdList) {
                finishedSessionIdList.add(sessionId);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    	mkParams := func(clientToken string, forceStart, forceStop bool) url.Values {
    		v := url.Values{}
    		if clientToken != "" {
    			v.Add(mgmtClientToken, clientToken)
    		}
    		if forceStart {
    			v.Add(mgmtForceStart, "")
    		}
    		if forceStop {
    			v.Add(mgmtForceStop, "")
    		}
    		return v
    	}
    	qParamsArr := []url.Values{
    		// Invalid cases
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return new File(LaServletContextUtil.getServletContext().getRealPath(path));
        }
    
        public boolean isForceStop() {
            return forceStop.get();
        }
    
        public void setForceStop(final boolean b) {
            forceStop.set(b);
        }
    
        public String generateDocId(final Map<String, Object> map) {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	}
    	if _, ok := qParams[mgmtForceStop]; ok {
    		hip.forceStop = true
    	}
    
    	// Invalid request conditions:
    	//
    	//   Cannot have both forceStart and forceStop in the same
    	//   request; If clientToken is provided, request can only be
    	//   to continue receiving logs, so it cannot be start or
    	//   stop;
    	if (hip.forceStart && hip.forceStop) ||
    		(hip.clientToken != "" && (hip.forceStart || hip.forceStop)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top