Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 123 for 1000L (0.02 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            }
        }
    
        // Test getTimeAdjustTimeMillisAsLong values
        @Test
        public void test_getTimeAdjustTimeMillisAsLong_values() {
            Long[] testValues = { 0L, 1L, -1L, 1000L, -1000L, 60000L, -60000L, 3600000L, -3600000L, Long.MAX_VALUE, Long.MIN_VALUE };
    
            for (Long value : testValues) {
                FessConfig testConfig = new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            // Test setting negative values
            webFsIndexHelper.setMaxAccessCount(-1L);
            assertEquals(-1L, webFsIndexHelper.maxAccessCount);
    
            webFsIndexHelper.setCrawlingExecutionInterval(-1000L);
            assertEquals(-1000L, webFsIndexHelper.crawlingExecutionInterval);
    
            // Test setting out of normal thread priority range
            webFsIndexHelper.setIndexUpdaterPriority(0);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            info.instanceId = "node1@host1";
            info.hostname = "host1";
            info.name = "node1";
            info.lastSeen = 1000L;
    
            assertEquals("node1@host1", info.instanceId);
            assertEquals("host1", info.hostname);
            assertEquals("node1", info.name);
            assertEquals(1000L, info.lastSeen);
        }
    
        @Test
        public void test_OperationInfo() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            assertEquals(10L, callback1.getDocumentSize());
            assertEquals(500L, callback1.getExecuteTime());
    
            assertEquals(20L, callback2.getDocumentSize());
            assertEquals(1000L, callback2.getExecuteTime());
    
            // Test store operations
            DataStoreParams params = new DataStoreParams();
            Map<String, Object> data = new HashMap<>();
    
            callback1.store(params, data);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        protected List<String> commandList;
    
        /** Timeout for command execution in milliseconds. */
        protected long commandTimeout = 30 * 1000L;// 30sec
    
        /** Timeout for destroying processes in milliseconds. */
        protected long commandDestroyTimeout = 5 * 1000L;// 5sec
    
        /** Base directory for command execution. */
        protected File baseDir;
    
        /** Timer for managing process destruction. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top