Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getCacheKey (0.07 sec)

  1. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String[] fields = { "field2", "field1" };
            String[] excludes = { "exclude2", "exclude1" };
    
            String result1 = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
            String result2 = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
    
            assertEquals(result1, result2);
        }
    
        public void test_getCacheKey_differentOrder() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            value = "ftp://123.123.123.123:9999/";
            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals(value, ftpInfo.toUrl());
            assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(9999, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertNull(ftpInfo.getName());
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         *
         * @param keyObj the crawler object to track (UrlQueue, StatsKeyObject, String, or Number)
         */
        public void begin(final Object keyObj) {
            getCacheKey(keyObj).ifPresent(key -> {
                try {
                    statsCache.get(key);
                } catch (final Exception e) {
                    final StringBuilder buf = createStringBuffer(keyObj, getCurrentTimeMillis());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

             * This key can be used to cache FTP client connections.
             *
             * @return The cache key in format "host:port"
             */
            public String getCacheKey() {
                return getHost() + ":" + getPort();
            }
    
            /**
             * Gets the host name from the FTP URL.
             *
             * @return The host name
             */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top