Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for getSessionId (0.65 seconds)

  1. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

        @Test
        public void test_sessionIdIsUnique() {
            final ChatSession session1 = new ChatSession();
            final ChatSession session2 = new ChatSession();
            assertFalse(session1.getSessionId().equals(session2.getSessionId()));
        }
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-07 01:53
    - 12.6K bytes
    - Click Count (0)
  2. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
    
                final Crawler crawler1 = crawlerContainer.getComponent("crawler");
                crawler1.setSessionId(crawler1.getSessionId() + "1");
                crawler1.setBackground(true);
                ((UrlFilterImpl) crawler1.urlFilter).setIncludeFilteringPattern("$1$2$3.*");
                crawler1.addUrl(url1);
    Created: 2026-04-12 03:50
    - Last Modified: 2026-01-15 01:11
    - 13.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                    bindingHash // Security buffer contains the binding information
            );
    
            // Set the session ID of the existing session
            request.setSessionId(getSessionId());
    
            // CRITICAL: Set the binding flag per MS-SMB2
            request.setSessionBinding(true);
    
            // The actual transport send would need proper integration
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-21 11:13
    - 20K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                            crawlerList.get(i).awaitTermination();
                            crawlerStatusList.set(i, Constants.DONE);
                            final String sid = crawlerList.get(i).getCrawlerContext().getSessionId();
                            indexUpdater.addFinishedSessionId(sid);
                            activeCrawlerNum--;
                        }
                    }
                    ThreadUtil.sleep(crawlingExecutionInterval);
    Created: 2026-03-31 13:07
    - Last Modified: 2025-11-28 16:29
    - 25K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final String url = getUrl(target);
            if (url == null) {
                throw new OpenSearchAccessException("url is null.");
            }
            final String id = getId(getSessionId(target), url);
            try (final XContentBuilder source = getXContentBuilder(target)) {
                final IndexResponse response = getClient().get(c -> c.prepareIndex()
                        .setIndex(index)
    Created: 2026-04-12 03:50
    - Last Modified: 2025-11-20 08:40
    - 34.3K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            }
            urlFilter.processUrl(url);
        }
    
        /**
         * Returns the current session ID.
         * @return The session ID.
         */
        public String getSessionId() {
            return crawlerContext.sessionId;
        }
    
        /**
         * Sets the session ID.
         * If the new session ID is different from the current one, it updates the session ID in the URL queue service.
    Created: 2026-04-12 03:50
    - Last Modified: 2025-11-24 03:59
    - 17K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                // Initialize test access result
            }
    
            @Override
            public String getId() {
                return "test_id";
            }
    
            @Override
            public String getSessionId() {
                return "test_session";
            }
    
            @Override
            public String getRuleId() {
                return "test_rule";
            }
    
            @Override
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-13 23:01
    - 33.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

                return null;
            }
    
            @Override
            public Long getLastModified() {
                return null;
            }
    
            @Override
            public String getSessionId() {
                return null;
            }
    
            @Override
            public Long getCreateTime() {
                return null;
            }
    
            @Override
    Created: 2026-03-31 13:07
    - Last Modified: 2026-01-14 14:29
    - 15.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/MultiChannelManager.java

            private volatile ChannelInfo primaryChannel;
    
            public ChannelGroup(String sessionId) {
                this.sessionId = sessionId;
            }
    
            public String getSessionId() {
                return sessionId;
            }
    
            public List<ChannelInfo> getChannels() {
                return new ArrayList<>(channels);
            }
    
            public void addChannel(ChannelInfo channel) {
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-31 08:00
    - 20.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should get and set session ID")
            void testSessionIdProperty() {
                assertEquals(0, testMessage.getSessionId());
                testMessage.setSessionId(789L);
                assertEquals(789L, testMessage.getSessionId());
            }
    
            @Test
            @DisplayName("Should propagate session ID to chained message")
            void testSessionIdPropagation() {
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-14 05:31
    - 39.5K bytes
    - Click Count (0)
Back to Top