/** * Clear all entries from the normalized cache. This is synchronous operation and will be executed int the current * thread * * @return {@code true} if operation succeed, {@code false} otherwise */ public boolean clearNormalizedCache() { return apolloStore.clearAll().execute(); }
/** * Clear all entries from the normalized cache. This is asynchronous operation and will be scheduled on the * dispatcher * * @param callback to be notified when operation is completed */ public void clearNormalizedCache(@NotNull ApolloStoreOperation.Callback<Boolean> callback) { checkNotNull(callback, "callback == null"); apolloStore.clearAll().enqueue(callback); }
public GraphQLStoreOperation<Boolean> clearAll() { return mStore.clearAll(); }
/** * Clear all entries from the normalized cache. * * @return {@link GraphQLStoreOperation} operation to execute */ public @Nonnull GraphQLStoreOperation<Boolean> clearNormalizedCache() { return mApolloStore.clearAll(); }
/** * Clear all entries from the normalized cache. * * @return {@link GraphQLStoreOperation} operation to execute */ public @Nonnull GraphQLStoreOperation<Boolean> clearNormalizedCache() { return mApolloStore.clearAll(); }