Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 205 for deletes (0.06 seconds)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

     * <p>When an instance of ContentCache is created with a byte array, the content is cached in memory.
     * When an instance is created with a File object, the content is cached in the specified file.
     *
     * <p>The {@code close()} method deletes the file if the content is cached in a file.
     *
     * <p>The {@code getInputStream()} method provides an InputStream to read the cached content.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        // Confirm
        // -------
    
        /**
         * Deletes a single document from the search index.
         *
         * @param form the delete form containing document ID
         * @return HTML response redirecting to the list page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final DeleteForm form) {
            validate(form, messages -> {}, this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            // For each of 4 indices: delete old + delete backup = 8 deletes
            assertEquals(8, testClient.deletedIndices.size());
            // Verify original index names appear in deleted list (old index deletion at step 3)
            boolean foundOriginalDelete = false;
            for (final String deleted : testClient.deletedIndices) {
                if (!deleted.contains(".backup.") && !deleted.contains(".rebuild.")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  4. internal/lru/lru.go

    //
    // Size parameter set to 0 makes cache of unlimited size, e.g. turns LRU mechanism off.
    //
    // Providing 0 TTL turns expiring off.
    //
    // Delete expired entries every 1/100th of ttl value. Goroutine which deletes expired entries runs indefinitely.
    func NewLRU[K comparable, V any](size int, onEvict EvictCallback[K, V], ttl time.Duration) *LRU[K, V] {
    	if size < 0 {
    		size = 0
    	}
    	if ttl <= 0 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        }
    
        /**
         * Deletes a scheduler setting by ID.
         *
         * @param id the ID of the scheduler setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/scheduler/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Deletes a document asynchronously.
         *
         * @param request the delete request
         * @return a future for the delete response
         */
        @Override
        public ActionFuture<DeleteResponse> delete(final DeleteRequest request) {
            return client.delete(request);
        }
    
        /**
         * Deletes a document asynchronously with a callback.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      fun initialize() {
        cache.initialize()
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
       * directory including files that weren't created by the cache.
       */
      @Throws(IOException::class)
      fun delete() {
        cache.delete()
      }
    
      /**
       * Deletes all values stored in the cache. In-flight writes to the cache will complete normally,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            // Log the result
            if (sizeBeforeDeletion > 0) {
                logger.info("Successfully deleted {} crawling info log(s) using bulk delete", sizeBeforeDeletion);
            } else {
                logger.info("No crawling info logs to delete (may have been deleted by previous test)");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            Files.write(tempFile.toPath(), "Hello, World!".getBytes());
    
            ContentCache cache = new ContentCache(tempFile);
            cache.close(); // This deletes the file
    
            try {
                cache.getInputStream();
                fail("Expected IOException for deleted file");
            } catch (IOException e) {
                // Expected - file no longer exists
            }
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

            });
            return redirect(getClass());
        }
    
        /**
         * Deletes a web crawler configuration.
         *
         * @param form the edit form containing the ID of the web config to delete
         * @return HTML response redirecting to the list page after deletion
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
Back to Top