code: public void deleteAllLocal() {
          if (localCache != null) {
              try {
                  localCache.deleteAll();
              } catch (Exception e) {
                  throw e instanceof CacheException ? (CacheException) e : new CacheException(e);
              }
          }
      }
docs: Deletes all entries in the local cache.