Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for delete$all (0.29 sec)

  1. cmd/metacache-bucket.go

    	for k, v := range b.cachesRoot {
    		tmp := make([]string, len(v))
    		copy(tmp, v)
    		dst2[k] = tmp
    	}
    
    	return dst, dst2
    }
    
    // deleteAll will delete all on disk data for ALL caches.
    // Deletes are performed concurrently.
    func (b *bucketMetacache) deleteAll() {
    	ctx := context.Background()
    
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return
    	}
    
    	ez, ok := objAPI.(deleteAllStorager)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. cmd/batch-expire_test.go

            lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
            greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
          purge:
              # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
              # retainVersions: 5 # keep the latest 5 versions of the object.
      
        - type: deleted # objects with delete marker as their latest version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            }
            arraySettings.delete(ELEVATE_WORD_SETTINGD_KEY, elevateWord);
        }
    
        public void deleteAll() {
            if (logger.isDebugEnabled()) {
                logger.debug("Delete all elevateword. {}", arraySettings.arraySettingsIndexName);
            }
            arraySettings.delete(ELEVATE_WORD_SETTINGD_KEY);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            super.setUp();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // close runner
            runner.close();
            // delete all files
            runner.clean();
        }
    
        public void test_insert_update_deleteTx() {
            final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue();
            urlQueue.setCreateTime(System.currentTimeMillis());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        // DELETE /api/admin/failureurl/all
        @Execute
        public JsonResponse<ApiResult> delete$all() {
            try {
                failureUrlService.deleteAll(failureUrlPager);
                failureUrlPager.clear();
                saveInfo(messages -> messages.addSuccessFailureUrlDeleteAll(GLOBAL));
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

            return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/suggest/all
        @Execute
        public JsonResponse<ApiResult> delete$all() {
            if (!suggestHelper.deleteAllWords()) {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToDeleteDocInAdmin(GLOBAL));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/bootstrap.bash

    gohostos="$(../bin/go env GOHOSTOS)"
    gohostarch="$(../bin/go env GOHOSTARCH)"
    goos="$(../bin/go env GOOS)"
    goarch="$(../bin/go env GOARCH)"
    
    # NOTE: Cannot invoke go command after this point.
    # We're about to delete all but the cross-compiled binaries.
    cd ..
    if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then
    	# cross-compile for local system. nothing to copy.
    	# useful if you've bootstrapped yourself but want to
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jan 20 17:52:26 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. cmd/metacache-manager.go

    		v.status = scanStateError
    		m.mu.Lock()
    		m.trash[k] = v
    		m.mu.Unlock()
    	}
    }
    
    // deleteAll will delete all caches.
    func (m *metacacheManager) deleteAll() {
    	m.init.Do(m.initManager)
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	for bucket, b := range m.buckets {
    		b.deleteAll()
    		delete(m.buckets, bucket)
    	}
    }
    
    // checkMetacacheState should be used if data is not updating.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            rootLogger.addHandler(handler);
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // close runner
            runner.close();
            // delete all files
            runner.clean();
        }
    
        public void test_executeTx() throws Exception {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. internal/store/queuestore_test.go

    	}
    	keys = store.List()
    
    	if len(keys) != 10 {
    		t.Fatalf("List() Expected: 10, got %d", len(keys))
    	}
    	if len(keys) != store.Len() {
    		t.Fatalf("List() Expected: 10, got %d", len(keys))
    	}
    
    	// Delete all
    	for _, key := range keys {
    		err := store.Del(key)
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	// Re-list
    	keys = store.List()
    	if len(keys) > 0 || err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top