Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for DeleteAll (0.06 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. internal/bucket/lifecycle/lifecycle.go

    func (a Action) DeleteVersioned() bool {
    	return a == DeleteVersionAction || a == DeleteRestoredVersionAction
    }
    
    // DeleteAll - Returns true if the action demands deleting all versions of an object
    func (a Action) DeleteAll() bool {
    	return a == DeleteAllVersionsAction || a == DelMarkerDeleteAllVersionsAction
    }
    
    // Delete - Returns true if action demands delete on all objects (including restored)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

      istioctl waypoint delete --all --namespace default`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if deleteAll && len(args) > 0 {
    				return fmt.Errorf("cannot specify waypoint names when deleting all waypoints")
    			}
    			if !deleteAll && len(args) == 0 {
    				return fmt.Errorf("must either specify a waypoint name or delete all using --all")
    			}
    			return nil
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

                logger.debug("Delete badword. {} badword: {}", arraySettings.arraySettingsIndexName, badWord);
            }
            arraySettings.delete(BAD_WORD_SETTINGD_KEY, badWord);
        }
    
        public void deleteAll() {
            if (logger.isDebugEnabled()) {
                logger.debug("Add all badword. {}", arraySettings.arraySettingsIndexName);
            }
            arraySettings.delete(BAD_WORD_SETTINGD_KEY);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        }
    
        public long getQueryWordsNum() {
            return suggester.getQueryWordsNum();
        }
    
        public boolean deleteAllWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteAll();
            if (response.hasError()) {
                logger.warn("Failed to delete all words.", response.getErrors().get(0));
                return false;
            }
            refresh();
            return true;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_LastAccessTime_Desc();
    
            buildSearchCondition(failureUrlPager, cb);
        }
    
        public void deleteAll(final FailureUrlPager failureUrlPager) {
            failureUrlBhv.queryDelete(cb -> {
                buildSearchCondition(failureUrlPager, cb);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 24 01:20:42 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                logger.debug("Delete elevateword. {} elevateword: {}", arraySettings.arraySettingsIndexName, elevateWord);
            }
            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)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "id2")).execute()
                    .actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.deleteAll();
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "id1")).execute()
                    .actionGet().getHits().getTotalHits().value > 0);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            dataService.store(accessResult1);
            assertNotNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
    
            dataService.deleteAll();
    
            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
            assertNull(dataService.getAccessResult("id2", "http://www.id2.com/"));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. cmd/metacache.go

    		return
    	}
    	ez, ok := objAPI.(deleteAllStorager)
    	if !ok {
    		bugLogIf(ctx, errors.New("metacache.delete: expected objAPI to be 'deleteAllStorager'"))
    		return
    	}
    	ez.deleteAll(ctx, minioMetaBucket, metacachePrefixForID(m.bucket, m.id))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top