ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [02/11] incubator-ignite git commit: minor - javadoc
Date Wed, 22 Apr 2015 12:03:23 GMT
minor - 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/82ea2cf8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/82ea2cf8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/82ea2cf8

Branch: refs/heads/ignite-773
Commit: 82ea2cf8f9897cd92f6e77a8d9efe08d1a8c0bd6
Parents: 72dfa03
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Tue Apr 21 17:18:46 2015 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Tue Apr 21 17:18:46 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/cache/CacheInterceptor.java | 9 ++++++---
 .../org/apache/ignite/internal/MarshallerContextImpl.java   | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/82ea2cf8/modules/core/src/main/java/org/apache/ignite/cache/CacheInterceptor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/CacheInterceptor.java b/modules/core/src/main/java/org/apache/ignite/cache/CacheInterceptor.java
index 817821a..5fc628d 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/CacheInterceptor.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/CacheInterceptor.java
@@ -82,7 +82,8 @@ public interface CacheInterceptor<K, V> extends Serializable {
      * <p>
      * This method should not throw any exception.
      *
-     * @param entry Current entry. If {@link CacheConfiguration#isCopyOnRead()} is {@code
true} then is copy.
+     * @param entry Current entry. If {@link CacheConfiguration#isCopyOnRead()} is {@code
true} then
+     *      entry is a copy.
      */
     public void onAfterPut(Cache.Entry<K, V> entry);
 
@@ -97,7 +98,8 @@ public interface CacheInterceptor<K, V> extends Serializable {
      * <p>
      * This method should not throw any exception.
      *
-     * @param entry Old entry. If {@link CacheConfiguration#isCopyOnRead()} is {@code true}
then is copy.
+     * @param entry Old entry. If {@link CacheConfiguration#isCopyOnRead()} is {@code true}
then
+     *      entry is a copy.
      * @return Tuple. The first value is the flag whether remove should be cancelled or not.
      *      The second is the value to be returned as result of {@code remove()} operation,
      *      may be {@code null}.
@@ -115,7 +117,8 @@ public interface CacheInterceptor<K, V> extends Serializable {
      * <p>
      * This method should not throw any exception.
      *
-     * @param entry Removed entry. If {@link CacheConfiguration#isCopyOnRead()} is {@code
true} then is copy.
+     * @param entry Removed entry. If {@link CacheConfiguration#isCopyOnRead()} is {@code
true} then
+     *      entry is a copy.
      */
     public void onAfterRemove(Cache.Entry<K, V> entry);
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/82ea2cf8/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
index 0952e86..85939a6 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/MarshallerContextImpl.java
@@ -105,7 +105,7 @@ public class MarshallerContextImpl extends MarshallerContextAdapter {
         catch (CachePartialUpdateCheckedException | GridCacheTryPutFailedException e) {
             if (++failedCnt > 10) {
                 U.quietAndWarn(log, e, "Failed to register marshalled class for more than
10 times in a row " +
-                    "(may affect performance)");
+                    "(may affect performance).");
 
                 failedCnt = 0;
             }


Mime
View raw message