sp-2 fixed java doc for EventType

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

Branch: refs/heads/ignite-437-sqltests
Commit: 828d71187054450e40659aadc9d8865633c430c3
Parents: 190e140
Author: Yakov Zhdanov <yzhda...@gridgain.com>
Authored: Thu Mar 26 15:12:39 2015 +0300
Committer: Yakov Zhdanov <yzhda...@gridgain.com>
Committed: Thu Mar 26 15:12:39 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/events/CacheEvent.java    | 12 ++++++----
 .../ignite/events/CacheRebalancingEvent.java    | 25 ++++++++++++++------
 2 files changed, 25 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/828d7118/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java 
b/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
index 276981d..162441c 100644
--- a/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
+++ b/modules/core/src/main/java/org/apache/ignite/events/CacheEvent.java
@@ -17,7 +17,9 @@
 
 package org.apache.ignite.events;
 
+import org.apache.ignite.IgniteEvents;
 import org.apache.ignite.cluster.*;
+import org.apache.ignite.configuration.IgniteConfiguration;
 import org.apache.ignite.internal.util.tostring.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
 import org.apache.ignite.lang.*;
@@ -33,19 +35,19 @@ import java.util.*;
  * APIs for performing a distributed queries across multiple nodes:
  * <ul>
  *      <li>
- *          {@link 
org.apache.ignite.IgniteEvents#remoteQuery(org.apache.ignite.lang.IgnitePredicate,
 long, int...)} -
+ *          {@link IgniteEvents#remoteQuery(IgnitePredicate, long, int...)} -
  *          asynchronously querying events occurred on the nodes specified, 
including remote nodes.
  *      </li>
  *      <li>
- *          {@link 
org.apache.ignite.IgniteEvents#localQuery(org.apache.ignite.lang.IgnitePredicate,
 int...)} -
+ *          {@link IgniteEvents#localQuery(IgnitePredicate, int...)} -
  *          querying only local events stored on this local node.
  *      </li>
  *      <li>
- *          {@link 
org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
 int...)} -
+ *          {@link IgniteEvents#localListen(IgnitePredicate, int...)} -
  *          listening to local grid events (events from remote nodes not 
included).
  *      </li>
  * </ul>
- * User can also wait for events using method {@link 
org.apache.ignite.IgniteEvents#waitForLocal(org.apache.ignite.lang.IgnitePredicate,
 int...)}.
+ * User can also wait for events using method {@link 
IgniteEvents#waitForLocal(IgnitePredicate, int...)}.
  * <h1 class="header">Events and Performance</h1>
  * Note that by default all events in Ignite are enabled and therefore 
generated and stored
  * by whatever event storage SPI is configured. Ignite can and often does 
generate thousands events per seconds
@@ -53,7 +55,7 @@ import java.util.*;
  * not needed by the application this load is unnecessary and leads to 
significant performance degradation.
  * <p>
  * It is <b>highly recommended</b> to enable only those events that your 
application logic requires
- * by using {@link 
org.apache.ignite.configuration.IgniteConfiguration#getIncludeEventTypes()} 
method in Ignite configuration. Note that certain
+ * by using {@link IgniteConfiguration#getIncludeEventTypes()} method in 
Ignite configuration. Note that certain
  * events are required for Ignite's internal operations and such events will 
still be generated but not stored by
  * event storage SPI if they are disabled in Ignite configuration.
  * @see EventType#EVT_CACHE_ENTRY_CREATED

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/828d7118/modules/core/src/main/java/org/apache/ignite/events/CacheRebalancingEvent.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/events/CacheRebalancingEvent.java
 
b/modules/core/src/main/java/org/apache/ignite/events/CacheRebalancingEvent.java
index b339b47..1e8ac55 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/events/CacheRebalancingEvent.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/events/CacheRebalancingEvent.java
@@ -17,8 +17,11 @@
 
 package org.apache.ignite.events;
 
+import org.apache.ignite.IgniteEvents;
 import org.apache.ignite.cluster.*;
+import org.apache.ignite.configuration.IgniteConfiguration;
 import org.apache.ignite.internal.util.typedef.internal.*;
+import org.apache.ignite.lang.IgnitePredicate;
 
 /**
  * In-memory database (cache) rebalancing event. Rebalance event happens every 
time there is a change
@@ -29,19 +32,19 @@ import org.apache.ignite.internal.util.typedef.internal.*;
  * APIs for performing a distributed queries across multiple nodes:
  * <ul>
  *      <li>
- *          {@link 
org.apache.ignite.IgniteEvents#remoteQuery(org.apache.ignite.lang.IgnitePredicate,
 long, int...)} -
+ *          {@link IgniteEvents#remoteQuery(IgnitePredicate, long, int...)} -
  *          asynchronously querying events occurred on the nodes specified, 
including remote nodes.
  *      </li>
  *      <li>
- *          {@link 
org.apache.ignite.IgniteEvents#localQuery(org.apache.ignite.lang.IgnitePredicate,
 int...)} -
+ *          {@link IgniteEvents#localQuery(IgnitePredicate, int...)} -
  *          querying only local events stored on this local node.
  *      </li>
  *      <li>
- *          {@link 
org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
 int...)} -
+ *          {@link IgniteEvents#localListen(IgnitePredicate, int...)} -
  *          listening to local grid events (events from remote nodes not 
included).
  *      </li>
  * </ul>
- * User can also wait for events using method {@link 
org.apache.ignite.IgniteEvents#waitForLocal(org.apache.ignite.lang.IgnitePredicate,
 int...)}.
+ * User can also wait for events using method {@link 
IgniteEvents#waitForLocal(IgnitePredicate, int...)}.
  * <h1 class="header">Events and Performance</h1>
  * Note that by default all events in Ignite are enabled and therefore 
generated and stored
  * by whatever event storage SPI is configured. Ignite can and often does 
generate thousands events per seconds
@@ -49,7 +52,7 @@ import org.apache.ignite.internal.util.typedef.internal.*;
  * not needed by the application this load is unnecessary and leads to 
significant performance degradation.
  * <p>
  * It is <b>highly recommended</b> to enable only those events that your 
application logic requires
- * by using {@link 
org.apache.ignite.configuration.IgniteConfiguration#getIncludeEventTypes()} 
method in Ignite configuration. Note that certain
+ * by using {@link IgniteConfiguration#getIncludeEventTypes()} method in 
Ignite configuration. Note that certain
  * events are required for Ignite's internal operations and such events will 
still be generated but not stored by
  * event storage SPI if they are disabled in Ignite configuration.
  * @see EventType#EVT_CACHE_REBALANCE_PART_LOADED
@@ -89,8 +92,16 @@ public class CacheRebalancingEvent extends EventAdapter {
      * @param discoEvtType Discovery event type that triggered this 
rebalancing event.
      * @param discoTs Timestamp of discovery event that triggered this 
rebalancing event.
      */
-    public CacheRebalancingEvent(String cacheName, ClusterNode node, String 
msg, int type, int part,
-        ClusterNode discoNode, int discoEvtType, long discoTs) {
+    public CacheRebalancingEvent(
+        String cacheName,
+        ClusterNode node,
+        String msg,
+        int type,
+        int part,
+        ClusterNode discoNode,
+        int discoEvtType,
+        long discoTs
+    ) {
         super(node, msg, type);
         this.cacheName = cacheName;
         this.part = part;

Reply via email to