ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [1/2] incubator-ignite git commit: # IGNITE-330 Minor javadoc change.
Date Tue, 24 Mar 2015 03:49:47 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 f164cb4eb -> 7ecb089ae


# IGNITE-330 Minor javadoc change.


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

Branch: refs/heads/ignite-45
Commit: 1508444087153abf0ef151c97d8bad00a38358e1
Parents: b0caf3a
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Mar 24 10:49:41 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Mar 24 10:49:41 2015 +0700

----------------------------------------------------------------------
 .../store/jdbc/CacheAbstractJdbcStore.java      | 23 +++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/15084440/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
index 327068d..3baa7c0 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
@@ -65,22 +65,19 @@ import static java.sql.Statement.*;
  * </ul>
  * <h2 class="header">Java Example</h2>
  * <pre name="code" class="java">
- * ...
- * CacheConfiguration ccfg = new CacheConfiguration&lt;&gt;();
+ *    ...
+ *    CacheConfiguration ccfg = new CacheConfiguration&lt;&gt;();
  *
- * // Configure cache store.
- * ccfg.setCacheStoreFactory(new FactoryBuilder.SingletonFactory(ConfigurationSnippet.store()));
- * ccfg.setReadThrough(true);
- * ccfg.setWriteThrough(true);
+ *    // Configure cache store.
+ *    ccfg.setCacheStoreFactory(new FactoryBuilder.SingletonFactory(ConfigurationSnippet.store()));
+ *    ccfg.setReadThrough(true);
+ *    ccfg.setWriteThrough(true);
  *
- * // Enable database batching.
- * ccfg.setWriteBehindEnabled(true);
+ *    // Configure cache types metadata.
+ *    ccfg.setTypeMetadata(ConfigurationSnippet.typeMetadata());
  *
- * // Configure cache types metadata.
- * ccfg.setTypeMetadata(ConfigurationSnippet.typeMetadata());
- *
- * cfg.setCacheConfiguration(ccfg);
- * ...
+ *    cfg.setCacheConfiguration(ccfg);
+ *    ...
  * </pre>
  */
 public abstract class CacheAbstractJdbcStore<K, V> implements CacheStore<K, V>,
LifecycleAware {


Mime
View raw message