Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 146 for session3 (0.06 seconds)

  1. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            final PrintWriter writer = new PrintWriter(stringWriter);
    
            chatApiManager.sendSseEvent(writer, "session", Map.of("sessionId", "abc-123"));
    
            final String output = stringWriter.toString();
            assertTrue(output.contains("event: session"));
            assertTrue(output.contains("\"sessionId\":\"abc-123\""));
        }
    
        @Test
        public void test_sendSseEvent_phase() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

            final CrawlingInfoPager pager = new CrawlingInfoPager();
            pager.sessionId = "test-session-123";
            assertEquals("test-session-123", pager.sessionId);
        }
    
        @Test
        public void test_crawlingInfoPager_setId() {
            final CrawlingInfoPager pager = new CrawlingInfoPager();
            pager.id = "crawling-id-456";
            assertEquals("crawling-id-456", pager.id);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param parentUrl the parent URL to get encoding for
         * @param sessionId the session ID for the crawling session
         * @return the character encoding, or null if not found
         */
        default String getParentEncoding(final String parentUrl, final String sessionId) {
            final String key = sessionId + ":" + parentUrl;
            String enc = parentEncodingMap.get(key);
            if (enc != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/ExecJob.java

            return this;
        }
    
        /**
         * Sets the session ID for this job execution.
         *
         * @param sessionId the unique session identifier
         * @return this ExecJob instance for method chaining
         */
        public ExecJob sessionId(final String sessionId) {
            this.sessionId = sessionId;
            return this;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            // The result should contain Session Id with the generated session ID
            assertNotNull(thumbnailJob.sessionId);
            assertTrue(result.contains("Session Id:"));
    
            // The test cannot actually start the process since it requires many dependencies
            // The execute method catches the exception and returns the session ID
        }
    
        // Test execute with custom session ID
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        @Test
        public void test_execute_withCustomSessionId() {
            pythonJob.filename("test.py");
            pythonJob.sessionId = "custom-session-123";
    
            testProcessHelper.exitValue = 0;
    
            String result = pythonJob.execute();
    
            assertTrue(result.contains("Session Id: custom-session-123"));
            assertEquals("custom-session-123", pythonJob.sessionId);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
            options.sessionId = "test-session";
            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
            assertEquals(expected, options.toString());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                            writeJsonResponse(response, HttpServletResponse.SC_OK, createSuccessResponse(sessionId, "Session cleared", null));
                        } else {
                            if (logger.isDebugEnabled()) {
                                logger.debug("Session not found or not owned. sessionId={}, userId={}", sessionId, clearUserId);
                            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  9. architecture/build-state-model.md

    ### Build session state
    
    A "build session" represents a single invocation of Gradle, for example when you run `gradlew build`.
    A session runs the build one or more times.
    For example, when continuous build is enabled, the session may run the build many times, but when it is disabled, the session will run the build once only.
    
    The build session state is managed by the `BuildSessionState` class.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 22 13:39:49 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                assertNotNull(jobProcess2);
    
                // Wait for second process to be running
                Thread.sleep(100);
                assertTrue(processHelper.isProcessRunning(sessionId));
    
                // Verify we still have only one process for this session
                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top