Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 79 for cleanUp (1.14 seconds)

  1. CLAUDE.md

    // Iterate all
    ds.iterate(sessionId, accessResult -> {
        System.out.println(accessResult.getUrl());
        System.out.println(accessResult.getContent());
    });
    
    // Cleanup
    ds.delete(sessionId);
    ```
    
    ### Resource Cleanup Pattern
    
    ```java
    // Always use try-with-resources for ResponseData
    try (ResponseData responseData = client.execute(requestData)) {
        // Process
    }  // Temp files auto-deleted
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 28 17:31:34 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
        }
    
        /**
         * Cleans up processed access results by updating their status in the data service.
         * This marks the access results as processed and clears the list.
         *
         * @param accessResultList the list of access results to clean up
         * @return the time taken for the cleanup operation in milliseconds, or -1 if no cleanup was needed
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            this.numOfThreads = numOfThreads;
            return this;
        }
    
        /**
         * Enables cleanup operations for this job.
         *
         * @return this job instance for method chaining
         */
        public GenerateThumbnailJob cleanup() {
            cleanup = true;
            return this;
        }
    
        @Override
        public String execute() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected int numOfThreads = 1;
    
            /**
             * Whether to run in cleanup mode to remove old thumbnails.
             */
            @Option(name = "-c", aliases = "--cleanup", usage = "Clean-Up mode")
            protected boolean cleanup;
    
            /**
             * Default constructor for command-line options.
             */
            protected Options() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    /**
     * Define clean up rules for the project.
     * See https://www.jetbrains.com/help/teamcity/teamcity-data-clean-up.html#Clean-up+Rules
     *
     * @param historyDays days number of days to store build history .
     * @param artifactsDays number of days to store artifacts. In the stored history, artifacts older than this number will be cleaned up.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

         * monitors their progress, and handles cleanup operations.
         *
         * <p>The method:</p>
         * <ul>
         *   <li>Creates crawler threads for each data configuration</li>
         *   <li>Manages concurrent execution based on thread count limits</li>
         *   <li>Monitors thread completion and handles cleanup</li>
         *   <li>Records execution timing and statistics</li>
         * </ul>
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. .github/workflows/codeql-analysis.yml

        #   make release
    
        - name: Perform CodeQL Analysis
          uses: github/codeql-action/analyze@v4
          with:
            config-file: ./.github/codeql/codeql-config.yml
    
        - name: Cleanup Gradle Cache
          # Cleans up the Gradle caches before being cached
          run: |
            rm -f ~/.gradle/caches/modules-2/modules-2.lock
            rm -f ~/.gradle/caches/modules-2/gc.properties
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial008e_py39.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 289 bytes
    - Click Count (0)
  9. build-logic/integration-testing/build.gradle.kts

            }
        }
    }
    
    dependencies {
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
        implementation(projects.cleanup)
        implementation(projects.dependencyModules)
        implementation(projects.jvm)
    
        testImplementation("junit:junit")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 27 06:24:17 GMT 2025
    - 930 bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         *
         * @param executorService the executor service for parallel processing
         * @param cleanup whether to run in cleanup mode
         * @return the number of tasks processed
         */
        public int generate(final ExecutorService executorService, final boolean cleanup) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final List<String> idList = new ArrayList<>();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 27K bytes
    - Click Count (0)
Back to Top