You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/07/10 13:26:29 UTC

incubator-ignite git commit: # ignite-648: fix compilation

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-648 01410fa92 -> 9c96a2f06


# ignite-648: fix compilation


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/9c96a2f0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/9c96a2f0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/9c96a2f0

Branch: refs/heads/ignite-648
Commit: 9c96a2f06e58fca2adcf69437ae4b736f304f651
Parents: 01410fa
Author: ashutak <as...@gridgain.com>
Authored: Fri Jul 10 14:26:30 2015 +0300
Committer: ashutak <as...@gridgain.com>
Committed: Fri Jul 10 14:26:30 2015 +0300

----------------------------------------------------------------------
 .../junits/multijvm/IgniteCacheProcessProxy.java            | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9c96a2f0/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/IgniteCacheProcessProxy.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/IgniteCacheProcessProxy.java b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/IgniteCacheProcessProxy.java
index b9b2d6a..b15b6ef 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/IgniteCacheProcessProxy.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/IgniteCacheProcessProxy.java
@@ -514,6 +514,15 @@ public class IgniteCacheProcessProxy<K, V> implements IgniteCache<K, V> {
     }
 
     /** {@inheritDoc} */
+    @Override public void destroy() {
+        compute.run(new IgniteRunnable() {
+            @Override public void run() {
+                cache().destroy();
+            }
+        });
+    }
+
+    /** {@inheritDoc} */
     @Override public boolean isClosed() {
         return (boolean)compute.call(new IgniteCallable<Object>() {
             @Override public Object call() throws Exception {