Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for declared (1.34 sec)

  1. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

    /**
     * Runtime exception wrapper for ServletException.
     *
     * This exception is used to wrap checked ServletExceptions and convert them
     * into unchecked RuntimeExceptions, allowing them to be thrown from methods
     * that don't declare ServletException in their throws clause.
     */
    public class ServletRuntimeException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility. */
        private static final long serialVersionUID = 1L;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

            assertEquals("SessionSetupHandler", clazz.getSimpleName(), "Simple name must match source");
        }
    
        @Test
        @DisplayName("Interface declares no methods or fields")
        void testNoMembers() {
            // Assert
            assertEquals(0, SessionSetupHandler.class.getDeclaredMethods().length, "No methods expected");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for the {@link AllocInfo} interface.
     * Since {@code AllocInfo} only declares getters, the tests focus on
     * verifying that implementations honour the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class AllocInfoTest {
    
        @Mock
        AllocInfo mockAllocInfo;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            assertTrue(elapsed + " should be much less than " + (waittime * numTasks), elapsed < waittime * numTasks / 2);
        }
    
        /**
         * Test that file:// URLs are not delayed
         */
        public void test_fileUrl_noDelay() {
            final HostIntervalController controller = new HostIntervalController();
            controller.delayMillisBeforeProcessing = 1000L;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            assertEquals(boolean.class, m1.getReturnType());
            assertEquals(0, m1.getParameterCount());
            assertEquals(0, m1.getExceptionTypes().length);
    
            // overlaps(SmbResourceLocator): boolean, declares CIFSException
            Method m2 = clazz.getMethod("overlaps", SmbResourceLocator.class);
            assertEquals(boolean.class, m2.getReturnType());
            assertEquals(1, m2.getParameterCount());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <_comment>HyperText Markup Language</_comment>
        <acronym>HTML</acronym>
        <tika:uti>public.html</tika:uti>
         <!-- TIKA-327: if you encounter tags in the HTML
              with no declared namespace, it's not XHTML, it's just
              bad HTML, unfortunately.
         -->
        <root-XML localName="html"/>
        <root-XML localName="HTML"/>
        <root-XML localName="link"/>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (2)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

                assertNotNull(e.getCause());
                assertTrue(e.getCause() instanceof IllegalArgumentException);
            }
        }
    
        /**
         * Test exception in method that declares throws
         */
        public void test_exceptionInMethod() {
            try {
                methodThatThrowsException();
                fail("Should have thrown CrawlerSystemException");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            /** Number of in-flight fetch operations */
            public int numberOfInFlightFetch;
            /** Number of pending tasks */
            public int numberOfPendingTasks;
            /** Number of delayed unassigned shards */
            public int delayedUnassignedShards;
            /** Number of unassigned shards */
            public int unassignedShards;
            /** Number of initializing shards */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

    import java.util.concurrent.ConcurrentSkipListSet;
    import java.util.concurrent.CopyOnWriteArrayList;
    import java.util.concurrent.CopyOnWriteArraySet;
    import java.util.concurrent.DelayQueue;
    import java.util.concurrent.Delayed;
    import java.util.concurrent.LinkedBlockingDeque;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.PriorityBlockingQueue;
    import java.util.concurrent.SynchronousQueue;
    
    /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  10. docs/smb3-features/06-witness-protocol-design.md

    ```
    
    ### 8.2 Network Partition Handling
    ```java
    public class WitnessNetworkPartitionHandler {
        public void handleNetworkPartition() {
            log.warn("Network partition detected - witness notifications may be delayed");
            
            // Switch to more aggressive connection retry
            // Increase heartbeat frequency
            // Consider fallback mechanisms
        }
        
        public void handlePartitionRecovery() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top