Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 73 for SessionId (0.07 seconds)

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

         */
        @PreDestroy
        public void destroy() {
            for (final String sessionId : runningProcessMap.keySet()) {
                if (logger.isInfoEnabled()) {
                    logger.info("Stopping process {}", sessionId);
                }
                if (destroyProcess(sessionId) == 0 && logger.isInfoEnabled()) {
                    logger.info("Stopped process {}", sessionId);
                }
            }
        }
    
        /**
    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/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)
  3. 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)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @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);
            }
            try {
    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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/chat/ChatClient.java

            if (logger.isDebugEnabled()) {
                logger.debug("[RAG] Starting chat request. sessionId={}, userId={}, userMessage={}", sessionId, userId, userMessage);
            }
    
            final ChatSession session = chatSessionManager.getOrCreateSession(sessionId, userId);
            // Extract history snapshot before adding current user message to avoid duplication
    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)
  9. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

            final ChatSession session = sessionCache.get(sessionId);
            if (session == null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Session not found. sessionId={}", sessionId);
                }
                return null;
            }
            if (isExpired(session)) {
                sessionCache.remove(sessionId);
                if (logger.isDebugEnabled()) {
    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)
  10. src/main/java/org/codelibs/fess/entity/ChatSession.java

         *
         * @return the session ID
         */
        public String getSessionId() {
            return sessionId;
        }
    
        /**
         * Sets the session ID.
         *
         * @param sessionId the session ID
         */
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        /**
         * Gets the user ID.
         *
         * @return 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)
Back to Top