Skip to content

Commit

Permalink
ignite-2412 Do not call 'asyncOp' for synchronous operations
Browse files Browse the repository at this point in the history
  • Loading branch information
sboikov committed Dec 16, 2016
1 parent 0c782b0 commit c530d47
Show file tree
Hide file tree
Showing 8 changed files with 597 additions and 875 deletions.

Large diffs are not rendered by default.

Original file line number Original file line Diff line number Diff line change
Expand Up @@ -333,14 +333,6 @@ public GridCacheGateway<K, V> gate() {
} }
} }


/** {@inheritDoc} */
@Override public IgniteCache<K, V> withAsync() {
if (delegate instanceof GridCacheAdapter)
((GridCacheAdapter)delegate).toggleAsync();

return super.withAsync();
}

/** {@inheritDoc} */ /** {@inheritDoc} */
@Override public IgniteCache<K, V> withSkipStore() { @Override public IgniteCache<K, V> withSkipStore() {
return skipStore(); return skipStore();
Expand Down
Loading

0 comments on commit c530d47

Please sign in to comment.