ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [32/50] incubator-ignite git commit: sp-2 fixed java doc for Events
Date Fri, 27 Mar 2015 09:41:00 GMT
sp-2 fixed java doc for Events


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

Branch: refs/heads/ignite-497
Commit: 1953cb1505909fb1701994bb82d8c67361c61fc8
Parents: 828d711
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Thu Mar 26 16:29:56 2015 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Thu Mar 26 16:29:56 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/events/CacheEvent.java    | 13 ++++++--
 .../org/apache/ignite/events/EventType.java     | 31 +++++++++++---------
 2 files changed, 27 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1953cb15/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 162441c..eb02e8e 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
@@ -58,17 +58,24 @@ import java.util.*;
  * 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_STARTED
+ * @see EventType#EVT_CACHE_STOPPED
+ * @see EventType#EVT_CACHE_NODES_LEFT
+ * @see EventType#EVTS_CACHE_LIFECYCLE
  * @see EventType#EVT_CACHE_ENTRY_CREATED
  * @see EventType#EVT_CACHE_ENTRY_DESTROYED
  * @see EventType#EVT_CACHE_ENTRY_EVICTED
+ * @see EventType#EVT_CACHE_OBJECT_EXPIRED
+ * @see EventType#EVT_CACHE_OBJECT_FROM_OFFHEAP
+ * @see EventType#EVT_CACHE_OBJECT_LOCKED
  * @see EventType#EVT_CACHE_OBJECT_PUT
  * @see EventType#EVT_CACHE_OBJECT_READ
  * @see EventType#EVT_CACHE_OBJECT_REMOVED
- * @see EventType#EVT_CACHE_OBJECT_LOCKED
- * @see EventType#EVT_CACHE_OBJECT_UNLOCKED
  * @see EventType#EVT_CACHE_OBJECT_SWAPPED
+ * @see EventType#EVT_CACHE_OBJECT_UNLOCKED
  * @see EventType#EVT_CACHE_OBJECT_UNSWAPPED
- * @see EventType#EVT_CACHE_OBJECT_EXPIRED
+ * @see EventType#EVTS_CACHE
  */
 public class CacheEvent extends EventAdapter {
     /** */

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/1953cb15/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 16ee7c4..31a9f2f 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
@@ -17,8 +17,10 @@
 
 package org.apache.ignite.events;
 
+import org.apache.ignite.IgniteEvents;
 import org.apache.ignite.configuration.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
+import org.apache.ignite.lang.IgnitePredicate;
 
 import java.util.*;
 
@@ -29,7 +31,7 @@ import java.util.*;
  * <p>
  * Note that this interface defines not only
  * 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:
+ * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method:
  * <ul>
  * <li>{@link #EVTS_CACHE}</li>
  * <li>{@link #EVTS_CACHE_LIFECYCLE}</li>
@@ -867,7 +869,7 @@ public interface EventType {
 
     /**
      * All checkpoint events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all checkpoint events.
      *
      * @see CheckpointEvent
@@ -880,7 +882,7 @@ public interface EventType {
 
     /**
      * All deployment events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all deployment events.
      *
      * @see DeploymentEvent
@@ -921,7 +923,7 @@ public interface EventType {
      * {@link #EVTS_DISCOVERY_ALL} array.
      * <p>
      * This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all discovery events <b>except</b> for {@link #EVT_NODE_METRICS_UPDATED}.
      *
      * @see DiscoveryEvent
@@ -937,7 +939,7 @@ public interface EventType {
 
     /**
      * All discovery events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all discovery events.
      *
      * @see DiscoveryEvent
@@ -954,7 +956,7 @@ public interface EventType {
 
     /**
      * All grid job execution events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all grid job execution events.
      *
      * @see JobEvent
@@ -974,7 +976,7 @@ public interface EventType {
 
     /**
      * All grid task execution events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all grid task execution events.
      *
      * @see TaskEvent
@@ -990,7 +992,7 @@ public interface EventType {
 
     /**
      * All cache events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all cache events.
      */
     public static final int[] EVTS_CACHE = {
@@ -1008,7 +1010,7 @@ public interface EventType {
 
     /**
      * All cache rebalance events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all cache rebalance events.
      */
     public static final int[] EVTS_CACHE_REBALANCE = {
@@ -1017,12 +1019,13 @@ public interface EventType {
         EVT_CACHE_REBALANCE_PART_LOADED,
         EVT_CACHE_REBALANCE_PART_UNLOADED,
         EVT_CACHE_REBALANCE_OBJECT_LOADED,
-        EVT_CACHE_REBALANCE_OBJECT_UNLOADED
+        EVT_CACHE_REBALANCE_OBJECT_UNLOADED,
+        EVT_CACHE_REBALANCE_DATA_LOST
     };
 
     /**
      * All cache lifecycle events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all cache lifecycle events.
      */
     public static final int[] EVTS_CACHE_LIFECYCLE = {
@@ -1033,7 +1036,7 @@ public interface EventType {
 
     /**
      * All cache query events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all cache query events.
      */
     public static final int[] EVTS_CACHE_QUERY = {
@@ -1043,7 +1046,7 @@ public interface EventType {
 
     /**
      * All swap space events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all cloud events.
      *
      * @see SwapSpaceEvent
@@ -1058,7 +1061,7 @@ public interface EventType {
 
     /**
      * All Igfs events. This array can be directly passed into
-     * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate,
int...)} method to
+     * {@link IgniteEvents#localListen(IgnitePredicate, int...)} method to
      * subscribe to all cloud events.
      *
      * @see IgfsEvent


Mime
View raw message