ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [36/48] incubator-ignite git commit: # IGNITE-59 Support lock, lockAll. Fix javadoc problems.
Date Wed, 21 Jan 2015 11:53:28 GMT
# IGNITE-59 Support lock, lockAll. Fix javadoc problems.


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

Branch: refs/heads/ignite-65
Commit: 3f7dc7dac334b0e4a1ae25b3180dbf3929c3d43b
Parents: afe8666
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Mon Jan 19 17:49:28 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Mon Jan 19 17:49:28 2015 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/IgniteCache.java     | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3f7dc7da/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
index 884e665..93bd108 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java
@@ -30,6 +30,7 @@ import javax.cache.configuration.*;
 import javax.cache.expiry.*;
 import javax.cache.processor.*;
 import java.util.*;
+import java.util.concurrent.*;
 import java.util.concurrent.locks.*;
 
 /**
@@ -182,21 +183,23 @@ public interface IgniteCache<K, V> extends javax.cache.Cache<K,
V>, IgniteAsyncS
 
     /**
      * Return a {@link CacheLock} instance associated with passed key.
-     * This method does not acquire lock immediately, you have to call something like {@link
CacheLock#lock()} on
-     * returned instance.
+     * This method does not acquire lock immediately, you have to call appropriate method
on returned instance.
      *
      * @param key Key for lock.
      * @return New lock instance associated with passed key.
+     * @see CacheLock#lock()
+     * @see CacheLock#tryLock(long, TimeUnit)
      */
     public CacheLock lock(K key);
 
     /**
      * Return a {@link CacheLock} instance associated with passed keys.
-     * This method does not acquire lock immediately, you have to call something like {@link
CacheLock#lock()} on
-     * returned instance.
+     * This method does not acquire lock immediately, you have to call appropriate method
on returned instance.
      *
      * @param keys Keys for lock.
      * @return New lock instance associated with passed key.
+     * @see CacheLock#lock()
+     * @see CacheLock#tryLock(long, TimeUnit)
      */
     public CacheLock lockAll(Collection<? extends K> keys);
 


Mime
View raw message