Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Ensure (0.5 sec)

  1. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     * This class provides support for executing Groovy scripts with parameter binding
     * and DI container integration.
     *
     * <p>Thread Safety: This class is thread-safe. Each evaluate() call creates
     * a new GroovyShell instance to ensure thread isolation.</p>
     *
     * <p>Resource Management: GroovyClassLoader instances are properly managed
     * and cleaned up after script evaluation to prevent memory leaks.</p>
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

     *   <li>{@link UrlQueueService} - The service for managing the URL queue.</li>
     *   <li>{@link DataService} - The service for managing access results.</li>
     * </ul>
     *
     * <p>Each parameter is stored in a ThreadLocal variable to ensure thread safety.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
     * UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue();
     * CrawlingParameterUtil.setUrlQueue(newUrlQueue);
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/assemblies/files/fess.in.bat

    REM space for a full heap dump.
    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:HeapDumpPath=%FESS_HOME%/logs/heapdump.hprof
    
    REM Disables explicit GC
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:+DisableExplicitGC
    
    REM Ensure UTF-8 encoding by default (e.g. filenames)
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfile.encoding=UTF-8
    
    REM Application Configuration
    set APP_NAME=fess
    set SEARCH_ENGINE_HOME=%FESS_HOME%/es
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        /**
         * The mime type.
         */
        public String mimeType = "application/datastore";
    
        /**
         * The flag to check if the data store is alive.
         * Volatile to ensure visibility across threads.
         */
        protected volatile boolean alive = true;
    
        /**
         * Default constructor.
         */
        public AbstractDataStore() {
            // nothing
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. src/main/assemblies/files/fess.in.sh

    # space for a full heap dump.
    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:HeapDumpPath=$FESS_HOME/logs/heapdump.hprof"
    
    # Disables explicit GC
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+DisableExplicitGC"
    
    # Ensure UTF-8 encoding by default (e.g. filenames)
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfile.encoding=UTF-8"
    
    # Application Configuration
    if [ "x$APP_NAME" = "x" ]; then
      APP_NAME=fess
    fi
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        }
    
        /**
         * Test backward compatibility with standard Base64
         *
         * @throws Exception
         */
        public void testBackwardCompatibility() throws Exception {
            // These test cases ensure that the new java.util.Base64 implementation
            // produces the same output as the old custom implementation
    
            // Test case 1: Standard padding
            final byte[] data1 = "abc".getBytes();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                throw new CrawlingAccessException("Failed to parse file ownership attributes: file=" + file.getAbsolutePath(), e);
            }
        }
    
        /**
         * Preprocesses a URI to ensure it's in the correct format for file system access.
         *
         * @param uri the URI to preprocess
         * @return the preprocessed URI
         * @throws CrawlerSystemException if the URI is empty
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        /**
         * Inner class for handling updates to the character mapping file.
         * This class manages the temporary file creation, writing operations,
         * and atomic updates to ensure data consistency during modifications.
         */
        protected class MappingUpdater implements Closeable {
    
            /** Flag indicating whether changes should be committed to the file. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            URL url = new URL("gcs://mybucket/object.txt");
            Handler handler = new Handler();
            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when project ID is blank
            try {
                conn.connect();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        /**
         * Timestamp of the last time data store names were loaded from plugin files.
         * Used to implement a time-based cache refresh mechanism.
         * Volatile to ensure visibility across threads.
         */
        protected volatile long lastLoadedTime = 0;
    
        /**
         * Creates a new instance of DataStoreFactory.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top