Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 283 for sessionID (0.06 seconds)

  1. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         *
         * @param sessionId unique identifier for the process session
         * @return exit code of the destroyed process, or -1 if the process was not found
         */
        public synchronized int destroyProcess(final String sessionId) {
            final JobProcess jobProcess = runningProcessMap.remove(sessionId);
            return destroyProcess(sessionId, jobProcess);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
            pathMappingHelper.removePathMappingList(sessionId);
            assertNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
    
        }
    
        @Test
        public void test_replaceUrl() {
            final String sessionId = "test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                }
            }
        }
    
        /**
         * Removes the path mapping list for a session.
         *
         * @param sessionId the session ID
         */
        public void removePathMappingList(final String sessionId) {
            pathMappingMap.remove(sessionId);
        }
    
        /**
         * Gets the path mapping list for a session.
         *
         * @param sessionId the session ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            try {
                processHelper.startProcess(sessionId, cmdList, pbCall);
    
                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
                assertTrue(sessionIds.contains(sessionId));
    
                processHelper.destroyProcess(sessionId);
    
                sessionIds = processHelper.getRunningSessionIdSet();
                assertFalse(sessionIds.contains(sessionId));
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            if (options.sessionId != null) {
                options.sessionId = options.sessionId.replaceAll("-", "_");
            }
    
            // Check that sessionId was sanitized (hyphens replaced with underscores)
            assertEquals("test_session_123", options.sessionId);
        }
    
        @Test
        public void test_process_withPropertiesPath() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         * Removes URL filters, URL queues, and access result data for the session.
         *
         * @param sessionId the session ID whose data should be deleted
         */
        private void deleteBySessionId(final String sessionId) {
            try {
                urlFilterService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter: sessionId={}", sessionId, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

                this.sessionId = sessionId;
                this.message = message;
                this.sources = sources;
            }
    
            /**
             * Gets the session ID.
             *
             * @return the session ID
             */
            public String getSessionId() {
                return sessionId;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Test with blank name
            crawlingInfoHelper.updateParams(sessionId, "", -1);
    
            // Test with null name
            crawlingInfoHelper.updateParams(sessionId, null, -1);
        }
    
        @Test
        public void test_updateParams_noSession() {
            final String sessionId = "non-existent-session";
    
            ComponentUtil.register(new CrawlingInfoService() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/ChatSession.java

         *
         * @param sessionId the session ID
         */
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        /**
         * Gets the user ID.
         *
         * @return the user ID
         */
        public String getUserId() {
            return userId;
        }
    
        /**
         * Sets the user ID.
         *
         * @param userId the user ID
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

         *
         * @param sessionId the session ID
         * @return the session, or null if not found or expired
         */
        private ChatSession findSession(final String sessionId) {
            final ChatSession session = sessionCache.get(sessionId);
            if (session == null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Session not found. sessionId={}", sessionId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
Back to Top