# sprint-2 - javadoc fixes.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a14ef183 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a14ef183 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a14ef183 Branch: refs/heads/ignite-185 Commit: a14ef18335ad5f6c78c35b711f4bd8d5a40f6910 Parents: 375376b Author: Dmitiry Setrakyan <dsetrak...@gridgain.com> Authored: Sat Feb 28 00:19:58 2015 -0500 Committer: Dmitiry Setrakyan <dsetrak...@gridgain.com> Committed: Sat Feb 28 00:19:58 2015 -0500 ---------------------------------------------------------------------- .../org/apache/ignite/cache/store/CacheStoreAdapter.java | 2 +- .../org/apache/ignite/cache/store/CacheStoreSession.java | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a14ef183/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreAdapter.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreAdapter.java b/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreAdapter.java index 794281b..58a3f76 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreAdapter.java @@ -39,7 +39,7 @@ import java.util.*; public abstract class CacheStoreAdapter<K, V> implements CacheStore<K, V> { /** * Default empty implementation. This method needs to be overridden only if - * {@link org.apache.ignite.cache.GridCache#loadCache(IgniteBiPredicate, long, Object...)} method + * {@link org.apache.ignite.IgniteCache#loadCache(IgniteBiPredicate, Object...)} method * is explicitly called. * * @param clo {@inheritDoc} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a14ef183/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreSession.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreSession.java b/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreSession.java index 0bfc6fc..a2be4c5 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreSession.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/store/CacheStoreSession.java @@ -23,7 +23,13 @@ import org.apache.ignite.transactions.*; import java.util.*; /** - * Session for the cache store operations. + * Session for the cache store operations. The main purpose of cache store session + * is to hold context between multiple store invocations whenever in transaction. For example, + * if using JDBC, you can store the ongoing database connection in the session {@link #properties()} map. + * You can then commit this connection in the {@link CacheStore#txEnd(boolean)} method. + * <p> + * {@code CacheStoreSession} can be injected into an implementation of {@link CacheStore} with + * {@link CacheStoreSessionResource @CacheStoreSessionResource} annotation. * * @see CacheStoreSessionResource */