ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [3/6] incubator-ignite git commit: # sprint-1 -javadoc.
Date Mon, 16 Feb 2015 03:46:06 GMT
# sprint-1 -javadoc.


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

Branch: refs/heads/ignite-262
Commit: 3bd7e18855c6e24daa8c7b5da388ef046d494ba2
Parents: 3efebf6
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Sun Feb 15 17:20:28 2015 -0800
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Sun Feb 15 17:20:28 2015 -0800

----------------------------------------------------------------------
 .../apache/ignite/cache/store/CacheStoreSession.java  | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3bd7e188/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 d62dda1..3f62443 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
@@ -22,21 +22,31 @@ import org.apache.ignite.transactions.*;
 import java.util.*;
 
 /**
- * Session for store.
+ * Session for the cache store operations.
  */
 public interface CacheStoreSession {
     /**
+     * Gets transaction spanning multiple store operations, or {@code null} if
+     * there is no transaction.
+     *
      * @return Transaction belonging to current session.
      */
     public IgniteTx transaction();
 
     /**
+     * Gets current session properties. You can add properties directly to the
+     * returned map.
+     *
      * @return Current session properties.
      */
     public <K, V> Map<K, V> properties();
 
     /**
-     * @return Cache name.
+     * Cache name for the current store operation. Note that if the same store
+     * is reused between different caches, then the cache name will change between
+     * different store operations.
+     *
+     * @return Cache name for the current store operation.
      */
     public String cacheName();
 }


Mime
View raw message