summaryrefslogtreecommitdiffstats
path: root/store/local_cache_supplier_schemes.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/local_cache_supplier_schemes.go')
-rw-r--r--store/local_cache_supplier_schemes.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/store/local_cache_supplier_schemes.go b/store/local_cache_supplier_schemes.go
index 809c60510..b6cde0fc4 100644
--- a/store/local_cache_supplier_schemes.go
+++ b/store/local_cache_supplier_schemes.go
@@ -46,3 +46,9 @@ func (s *LocalCacheSupplier) SchemeDelete(ctx context.Context, schemeId string,
func (s *LocalCacheSupplier) SchemeGetAllPage(ctx context.Context, scope string, offset int, limit int, hints ...LayeredStoreHint) *LayeredStoreSupplierResult {
return s.Next().SchemeGetAllPage(ctx, scope, offset, limit, hints...)
}
+
+func (s *LocalCacheSupplier) SchemePermanentDeleteAll(ctx context.Context, hints ...LayeredStoreHint) *LayeredStoreSupplierResult {
+ defer s.doClearCacheCluster(s.schemeCache)
+
+ return s.Next().SchemePermanentDeleteAll(ctx, hints...)
+}