Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for while (0.16 sec)

  1. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

        protected volatile boolean crawlerRunning = true;
    
        protected long crawlerWaitMillis = 10000;
    
        protected List<IntervalRule> ruleList = new ArrayList<>();
    
        public void checkCrawlerStatus() {
            while (!crawlerRunning) {
                ThreadUtil.sleepQuietly(crawlerWaitMillis);
            }
        }
    
        public void delayByRules() {
            final long delay = getDelay();
            if (delay > 0) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            thumbnailQueueThread = new Thread((Runnable) () -> {
                final List<Tuple3<String, String, String>> taskList = new ArrayList<>();
                while (generating) {
                    try {
                        final Tuple3<String, String, String> task = thumbnailTaskQueue.poll(thumbnailTaskQueueTimeout, TimeUnit.MILLISECONDS);
                        if (task == null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        protected String buildThrowableMessage(final Throwable t) {
            final StringBuilder buf = new StringBuilder(100);
            Throwable current = t;
            while (current != null) {
                buf.append(current.getLocalizedMessage()).append(' ');
                current = current.getCause();
            }
            return buf.toString();
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            }
            esCb.request().build(builder);
            SearchResponse response = esCb.build(builder).execute().actionGet(scrollSearchTimeout);
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
                        break;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrudTestBase.java

        }
    
        @AfterEach
        protected void tearDown() {
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            int count = 0;
            List<String> idList = getIdList(searchBody);
            while (idList.size() > 0 && count < NUM) {
                final String id = idList.get(0);
                checkDeleteMethod(getItemEndpointSuffix() + "/" + id.toString());
                refresh();
                idList = getIdList(searchBody);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            if (current < percent) {
                return;
            }
            final String threadName = Thread.currentThread().getName();
            try {
                waitingThreadNames.add(threadName);
                while (current >= percent) {
                    if (logger.isInfoEnabled()) {
                        logger.info("Cpu Load {}% is greater than {}%. {} waiting thread(s).", current, percent, waitingThreadNames.size());
                    }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  8. src/main/webapp/js/admin/jquery-3.6.3.min.js

    ,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&S&&!N[t+" "]&&(!s||!s.test(t))&&(...
    JavaScript
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 87.8K bytes
    - Viewed (3)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            return null;
        }
    
        @Override
        public String xgetLocationBase() {
            final StringBuilder sb = new StringBuilder();
            ConditionQuery query = this;
            while (true) {
                if (query.isBaseQuery()) {
                    sb.insert(0, CQ_PROPERTY + ".");
                    break;
                } else {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                dataCrawlingThreadList.add(dataCrawlingThread);
                dataCrawlingThreadStatusList.add(Constants.READY);
    
            }
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            while (startedCrawlerNum < dataCrawlingThreadList.size()) {
                // Force to stop crawl
                if (systemHelper.isForceStop()) {
                    for (final DataCrawlingThread crawlerThread : dataCrawlingThreadList) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top