ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [13/50] [abbrv] incubator-ignite git commit: # IGNITE-32: Fixed GridInteropAware -> LifecycleAware.
Date Thu, 05 Feb 2015 07:47:39 GMT
# IGNITE-32: Fixed GridInteropAware -> LifecycleAware.


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

Branch: refs/heads/ignite-58
Commit: 707aaf53361d9e3657a472728589b7a6c0da9cea
Parents: c6c1e31
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Feb 2 21:49:30 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Feb 2 21:49:30 2015 +0700

----------------------------------------------------------------------
 .../ignite/cache/store/jdbc/JdbcCacheStore.java       | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/707aaf53/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
index 9d66aaf..4774d16 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcCacheStore.java
@@ -21,12 +21,11 @@ import org.apache.ignite.*;
 import org.apache.ignite.cache.query.*;
 import org.apache.ignite.cache.store.*;
 import org.apache.ignite.cache.store.jdbc.dialect.*;
-import org.apache.ignite.internal.*;
-import org.apache.ignite.internal.processors.interop.*;
 import org.apache.ignite.internal.util.tostring.*;
 import org.apache.ignite.internal.util.typedef.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
 import org.apache.ignite.lang.*;
+import org.apache.ignite.lifecycle.*;
 import org.apache.ignite.resources.*;
 import org.apache.ignite.transactions.*;
 import org.jetbrains.annotations.*;
@@ -74,7 +73,7 @@ import java.util.concurrent.locks.*;
  * <p>
  * For information about Spring framework visit <a href="http://www.springframework.org/">www.springframework.org</a>
  */
-public abstract class JdbcCacheStore<K, V> extends CacheStore<K, V> implements
GridInteropAware {
+public abstract class JdbcCacheStore<K, V> extends CacheStore<K, V> implements
LifecycleAware {
     /** Max attempt write count. */
     protected static final int MAX_ATTEMPT_WRITE_COUNT = 2;
 
@@ -207,12 +206,7 @@ public abstract class JdbcCacheStore<K, V> extends CacheStore<K,
V> implements G
     }
 
     /** {@inheritDoc} */
-    @Override public void configure(Object... params) {
-        // No-op.
-    }
-
-    /** {@inheritDoc} */
-    @Override public void initialize(GridKernalContext ctx) throws IgniteCheckedException
{
+    @Override public void start() throws IgniteCheckedException {
         if (dataSrc == null)
             throw new IgniteCheckedException("Failed to initialize cache store (data source
is not provided).");
 
@@ -221,7 +215,7 @@ public abstract class JdbcCacheStore<K, V> extends CacheStore<K,
V> implements G
     }
 
     /** {@inheritDoc} */
-    @Override public void destroy(GridKernalContext ctx) throws IgniteCheckedException {
+    @Override public void stop() throws IgniteCheckedException {
         // No-op.
     }
 


Mime
View raw message