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/83813b18
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/83813b18
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/83813b18

Branch: refs/heads/ignite-497
Commit: 83813b189ff3bb9e3198133a803b9117efea16c4
Parents: 0fb700f
Author: Yakov Zhdanov <yzhda...@gridgain.com>
Authored: Thu Mar 26 15:08:38 2015 +0300
Committer: Yakov Zhdanov <yzhda...@gridgain.com>
Committed: Thu Mar 26 15:08:38 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/events/EventType.java     | 81 +++++++++++++++++---
 1 file changed, 69 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/83813b18/modules/core/src/main/java/org/apache/ignite/events/EventType.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/events/EventType.java 
b/modules/core/src/main/java/org/apache/ignite/events/EventType.java
index 86c40c2..b170311 100644
--- a/modules/core/src/main/java/org/apache/ignite/events/EventType.java
+++ b/modules/core/src/main/java/org/apache/ignite/events/EventType.java
@@ -30,16 +30,19 @@ import java.util.*;
  * individual type constants but arrays of types as well to be conveniently 
used with
  * {@link 
org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
 int...)} method:
  * <ul>
+ * <li>{@link #EVTS_CACHE}</li>
+ * <li>{@link #EVTS_CACHE_LIFECYCLE}</li>
+ * <li>{@link #EVTS_CACHE_REBALANCE}</li>
+ * <li>{@link #EVTS_CACHE_QUERY}</li>
  * <li>{@link #EVTS_CHECKPOINT}</li>
  * <li>{@link #EVTS_DEPLOYMENT}</li>
  * <li>{@link #EVTS_DISCOVERY}</li>
  * <li>{@link #EVTS_DISCOVERY_ALL}</li>
+ * <li>{@link #EVTS_ERROR}</li>
+ * <li>{@link #EVTS_IGFS}</li>
  * <li>{@link #EVTS_JOB_EXECUTION}</li>
- * <li>{@link #EVTS_TASK_EXECUTION}</li>
- * <li>{@link #EVTS_CACHE}</li>
- * <li>{@link #EVTS_CACHE_REBALANCE}</li>
- * <li>{@link #EVTS_CACHE_QUERY}</li>
  * <li>{@link #EVTS_SWAPSPACE}</li>
+ * <li>{@link #EVTS_TASK_EXECUTION}</li>
  * </ul>
  * <p>
  * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
@@ -155,11 +158,21 @@ public interface EventType {
 
     /**
      * Built-in event type: client node disconnected.
+     * <p>
+     * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
+     * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see DiscoveryEvent
      */
     public static final int EVT_CLIENT_NODE_DISCONNECTED = 16;
 
     /**
      * Built-in event type: client node reconnected.
+     * <p>
+     * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
+     * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see DiscoveryEvent
      */
     public static final int EVT_CLIENT_NODE_RECONNECTED = 17;
 
@@ -400,11 +413,13 @@ public interface EventType {
     public static final int EVT_JOB_CANCELLED = 50;
 
     /**
-      * Built-in event type: entry created.
-      * <p>
-      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
-      * internal Ignite events and should not be used by user-defined events.
-      */
+     * Built-in event type: entry created.
+     * <p/>
+     * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
+     * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
+     */
      public static final int EVT_CACHE_ENTRY_CREATED = 60;
 
      /**
@@ -412,6 +427,8 @@ public interface EventType {
       * <p>
       * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
       * internal Ignite events and should not be used by user-defined events.
+      *
+      * @see CacheEvent
       */
      public static final int EVT_CACHE_ENTRY_DESTROYED = 61;
 
@@ -420,6 +437,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
      public static final int EVT_CACHE_ENTRY_EVICTED = 62;
 
@@ -428,6 +447,8 @@ public interface EventType {
       * <p>
       * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
       * internal Ignite events and should not be used by user-defined events.
+      *
+      * @see CacheEvent
       */
      public static final int EVT_CACHE_OBJECT_PUT = 63;
 
@@ -436,6 +457,8 @@ public interface EventType {
       * <p>
       * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
       * internal Ignite events and should not be used by user-defined events.
+      *
+      * @see CacheEvent
       */
      public static final int EVT_CACHE_OBJECT_READ = 64;
 
@@ -444,6 +467,8 @@ public interface EventType {
       * <p>
       * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
       * internal Ignite events and should not be used by user-defined events.
+      *
+      * @see CacheEvent
       */
      public static final int EVT_CACHE_OBJECT_REMOVED = 65;
 
@@ -452,6 +477,8 @@ public interface EventType {
       * <p>
       * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
       * internal Ignite events and should not be used by user-defined events.
+      *
+      * @see CacheEvent
       */
      public static final int EVT_CACHE_OBJECT_LOCKED = 66;
 
@@ -460,6 +487,8 @@ public interface EventType {
       * <p>
       * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
       * internal Ignite events and should not be used by user-defined events.
+      *
+      * @see CacheEvent
       */
      public static final int EVT_CACHE_OBJECT_UNLOCKED = 67;
 
@@ -468,6 +497,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_OBJECT_SWAPPED = 68;
 
@@ -476,6 +507,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_OBJECT_UNSWAPPED = 69;
 
@@ -484,6 +517,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_OBJECT_EXPIRED = 70;
 
@@ -542,6 +577,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_OBJECT_TO_OFFHEAP = 76;
 
@@ -550,6 +587,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_OBJECT_FROM_OFFHEAP = 77;
 
@@ -559,7 +598,7 @@ public interface EventType {
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
      *
-     * @see SwapSpaceEvent
+     * @see CacheRebalancingEvent
      */
     public static final int EVT_CACHE_REBALANCE_STARTED = 80;
 
@@ -569,7 +608,7 @@ public interface EventType {
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
      *
-     * @see SwapSpaceEvent
+     * @see CacheRebalancingEvent
      */
     public static final int EVT_CACHE_REBALANCE_STOPPED = 81;
 
@@ -579,7 +618,7 @@ public interface EventType {
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
      *
-     * @see SwapSpaceEvent
+     * @see CacheRebalancingEvent
      */
     public static final int EVT_CACHE_REBALANCE_PART_LOADED = 82;
 
@@ -588,6 +627,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheRebalancingEvent
      */
     public static final int EVT_CACHE_REBALANCE_PART_UNLOADED = 83;
 
@@ -596,6 +637,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_REBALANCE_OBJECT_LOADED = 84;
 
@@ -604,6 +647,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_REBALANCE_OBJECT_UNLOADED = 85;
 
@@ -612,6 +657,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheRebalancingEvent
      */
     public static final int EVT_CACHE_REBALANCE_DATA_LOST = 86;
 
@@ -620,6 +667,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheQueryExecutedEvent
      */
     public static final int EVT_CACHE_QUERY_EXECUTED = 96;
 
@@ -628,6 +677,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheQueryExecutedEvent
      */
     public static final int EVT_CACHE_QUERY_OBJECT_READ = 97;
 
@@ -636,6 +687,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_STARTED = 98;
 
@@ -644,6 +697,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_STOPPED = 99;
 
@@ -652,6 +707,8 @@ public interface EventType {
      * <p>
      * NOTE: all types in range <b>from 1 to 1000 are reserved</b> for
      * internal Ignite events and should not be used by user-defined events.
+     *
+     * @see CacheEvent
      */
     public static final int EVT_CACHE_NODES_LEFT = 100;
 

Reply via email to