ddth-cache-adapter-core/src/main/java/com/github/ddth/cacheadapter/cacheimpl/localremote/LocalRemoteCache.java
@Override
    public void deleteAll() {
        try {
            if (localCache != null) {
                localCache.deleteAll();
            }
            if (remoteCache != null) {
                remoteCache.deleteAll();
            }
        } catch (Exception e) {
            throw e instanceof CacheException ? (CacheException) e : new CacheException(e);
        }
    }
@Override
    public void deleteAll() {
        try {
            if (localCache != null) {
                localCache.deleteAll();
            }
            if (remoteCache != null) {
                remoteCache.deleteAll();
            }
        } catch (Exception e) {
            throw e instanceof CacheException ? (CacheException) e : new CacheException(e);
        }
    }
@ Override public void deleteAll ( ) { try { if ( localCache != null ) { localCache . deleteAll ( ) ; } if ( remoteCache != null ) { remoteCache . deleteAll ( ) ; } } catch ( Exception e ) { throw e instanceof CacheException ? ( CacheException ) e : new CacheException ( e ) ; } }
Deletes all entries in both local and remote caches.
Deletes all entries in both local and remote caches .