Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 118 for 1000L (0.04 seconds)

  1. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            assertEquals("192.168.1.100", rateLimitHelper.getClientIp(request));
        }
    
        @Test
        public void test_blockIp() {
            rateLimitHelper.blockIp("192.168.1.100", 1000L);
            assertEquals(1, rateLimitHelper.getBlockedIpCount());
    
            rateLimitHelper.unblockIp("192.168.1.100");
            assertEquals(0, rateLimitHelper.getBlockedIpCount());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. src/main/resources/fess_indices/fess_config.scheduled_job/scheduled_job.bulk

    {"name":"Thumbnail Purger","target":"all","cronExpression":"0 0 * * *","scriptType":"groovy","scriptData":"return container.getComponent(\"purgeThumbnailJob\").expiry(30 * 24 * 60 * 60 * 1000L).execute();","jobLogging":true,"crawler":false,"available":true,"sortOrder":7,"createdBy":"system","createdTime":0,"updatedBy":"system","updatedTime":0}
    {"index":{"_index":"fess_config.scheduled_job","_id":"reload_config"}}
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            PurgeThumbnailJob job = new PurgeThumbnailJob();
            assertNotNull(job);
            assertEquals(30L * 24 * 60 * 60 * 1000L, job.getExpiry());
        }
    
        // Test getExpiry with default value
        @Test
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            // Default buffer size is 1000; offer more than that
            for (int i = 0; i < 1100; i++) {
                helper.offer(new LogNotificationEvent(i, "ERROR", "org.test", "msg" + i, null));
            }
            List<LogNotificationEvent> events = helper.drainAll();
            // Should be capped at buffer size (1000)
            assertTrue(events.size() <= 1000);
            assertTrue(events.size() > 0);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

         */
        @Test
        public void test_delayMillisAfterProcessing() {
            FessIntervalController controller = new FessIntervalController();
    
            controller.setDelayMillisAfterProcessing(1000L);
            assertEquals(1000L, controller.getDelayMillisAfterProcessing());
    
            controller.setDelayMillisAfterProcessing(5000L);
            assertEquals(5000L, controller.getDelayMillisAfterProcessing());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/JobLogService.java

        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Time interval in milliseconds after which jobs are considered expired.
         * Default is 2 hours (2 * 60 * 60 * 1000L).
         */
        protected long expiredJobInterval = 2 * 60 * 60 * 1000L; // 2hours
    
        /**
         * Retrieves a paginated list of job logs based on the provided pager configuration.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java

        /**
         * Default constructor.
         */
        public AbstractConfigHelper() {
            // Default constructor
        }
    
        /**
         * The interval for reloading.
         */
        protected long reloadInterval = 1000L;
    
        /**
         * Update the configuration.
         */
        public void update() {
            CommonPoolUtil.execute(this::load);
        }
    
        /**
         * Wait for the next reloading.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

         */
        public PurgeThumbnailJob() {
            // Default constructor
        }
    
        /** Expiration time for thumbnails in milliseconds (default: 30 days) */
        private long expiry = 30 * 24 * 60 * 60 * 1000L;
    
        /**
         * Executes the thumbnail purging job.
         * Removes thumbnail files that have exceeded the configured expiration time.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            super.setUp(testInfo);
            configHelper = new TestConfigHelper();
        }
    
        @Test
        public void test_setReloadInterval() {
            assertEquals(1000L, configHelper.reloadInterval);
    
            configHelper.setReloadInterval(5000L);
            assertEquals(5000L, configHelper.reloadInterval);
    
            configHelper.setReloadInterval(0L);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         * This is a required field with a maximum length of 1000 characters.
         */
        @Required
        @Size(max = 1000)
        public String name;
    
        /**
         * The actual access token string.
         * This is the token value that will be used for authentication.
         * Maximum length is 10000 characters.
         */
        @Size(max = 10000)
        public String token;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top