Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StatsKeyObject (0.07 sec)

  1. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            final CrawlerStatsHelper crawlerStatsHelper = ComponentUtil.getCrawlerStatsHelper();
            final StatsKeyObject keyObj = paramMap.get(Constants.CRAWLER_STATS_KEY) instanceof final StatsKeyObject sko ? sko : null;
            if (keyObj != null) {
                crawlerStatsHelper.runOnThread(keyObj);
            }
            final DataStoreParams localParams = paramMap.newInstance();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            localLogMsg.remove();
            crawlerStatsHelper.done(key);
            assertNull(localLogMsg.get());
        }
    
        public void test_beginDoneWithRecord1WithStatsKeyObject() {
            StatsKeyObject key = new StatsKeyObject("id");
            crawlerStatsHelper.begin(key);
            key.setUrl("test");
            crawlerStatsHelper.record(key, "aaa");
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            this.cacheExpireAfterWrite = cacheExpireAfterWrite;
        }
    
        public static class StatsKeyObject {
    
            private final String id;
    
            private String url;
    
            public StatsKeyObject(final String id) {
                this.id = id;
            }
    
            public String getId() {
                return id;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top