|
17 | 17 |
|
18 | 18 | package org.apache.ignite.events; |
19 | 19 |
|
| 20 | +import org.apache.ignite.IgniteEvents; |
20 | 21 | import org.apache.ignite.cluster.*; |
| 22 | +import org.apache.ignite.configuration.IgniteConfiguration; |
21 | 23 | import org.apache.ignite.internal.util.tostring.*; |
22 | 24 | import org.apache.ignite.internal.util.typedef.internal.*; |
23 | 25 | import org.apache.ignite.lang.*; |
|
33 | 35 | * APIs for performing a distributed queries across multiple nodes: |
34 | 36 | * <ul> |
35 | 37 | * <li> |
36 | | - * {@link org.apache.ignite.IgniteEvents#remoteQuery(org.apache.ignite.lang.IgnitePredicate, long, int...)} - |
| 38 | + * {@link IgniteEvents#remoteQuery(IgnitePredicate, long, int...)} - |
37 | 39 | * asynchronously querying events occurred on the nodes specified, including remote nodes. |
38 | 40 | * </li> |
39 | 41 | * <li> |
40 | | - * {@link org.apache.ignite.IgniteEvents#localQuery(org.apache.ignite.lang.IgnitePredicate, int...)} - |
| 42 | + * {@link IgniteEvents#localQuery(IgnitePredicate, int...)} - |
41 | 43 | * querying only local events stored on this local node. |
42 | 44 | * </li> |
43 | 45 | * <li> |
44 | | - * {@link org.apache.ignite.IgniteEvents#localListen(org.apache.ignite.lang.IgnitePredicate, int...)} - |
| 46 | + * {@link IgniteEvents#localListen(IgnitePredicate, int...)} - |
45 | 47 | * listening to local grid events (events from remote nodes not included). |
46 | 48 | * </li> |
47 | 49 | * </ul> |
48 | | - * User can also wait for events using method {@link org.apache.ignite.IgniteEvents#waitForLocal(org.apache.ignite.lang.IgnitePredicate, int...)}. |
| 50 | + * User can also wait for events using method {@link IgniteEvents#waitForLocal(IgnitePredicate, int...)}. |
49 | 51 | * <h1 class="header">Events and Performance</h1> |
50 | 52 | * Note that by default all events in Ignite are enabled and therefore generated and stored |
51 | 53 | * by whatever event storage SPI is configured. Ignite can and often does generate thousands events per seconds |
52 | 54 | * under the load and therefore it creates a significant additional load on the system. If these events are |
53 | 55 | * not needed by the application this load is unnecessary and leads to significant performance degradation. |
54 | 56 | * <p> |
55 | 57 | * It is <b>highly recommended</b> to enable only those events that your application logic requires |
56 | | - * by using {@link org.apache.ignite.configuration.IgniteConfiguration#getIncludeEventTypes()} method in Ignite configuration. Note that certain |
| 58 | + * by using {@link IgniteConfiguration#getIncludeEventTypes()} method in Ignite configuration. Note that certain |
57 | 59 | * events are required for Ignite's internal operations and such events will still be generated but not stored by |
58 | 60 | * event storage SPI if they are disabled in Ignite configuration. |
| 61 | + * |
| 62 | + * @see EventType#EVT_CACHE_STARTED |
| 63 | + * @see EventType#EVT_CACHE_STOPPED |
| 64 | + * @see EventType#EVT_CACHE_NODES_LEFT |
| 65 | + * @see EventType#EVTS_CACHE_LIFECYCLE |
59 | 66 | * @see EventType#EVT_CACHE_ENTRY_CREATED |
60 | 67 | * @see EventType#EVT_CACHE_ENTRY_DESTROYED |
61 | 68 | * @see EventType#EVT_CACHE_ENTRY_EVICTED |
| 69 | + * @see EventType#EVT_CACHE_OBJECT_EXPIRED |
| 70 | + * @see EventType#EVT_CACHE_OBJECT_FROM_OFFHEAP |
| 71 | + * @see EventType#EVT_CACHE_OBJECT_LOCKED |
62 | 72 | * @see EventType#EVT_CACHE_OBJECT_PUT |
63 | 73 | * @see EventType#EVT_CACHE_OBJECT_READ |
64 | 74 | * @see EventType#EVT_CACHE_OBJECT_REMOVED |
65 | | - * @see EventType#EVT_CACHE_OBJECT_LOCKED |
66 | | - * @see EventType#EVT_CACHE_OBJECT_UNLOCKED |
67 | 75 | * @see EventType#EVT_CACHE_OBJECT_SWAPPED |
| 76 | + * @see EventType#EVT_CACHE_OBJECT_UNLOCKED |
68 | 77 | * @see EventType#EVT_CACHE_OBJECT_UNSWAPPED |
69 | | - * @see EventType#EVT_CACHE_OBJECT_EXPIRED |
| 78 | + * @see EventType#EVTS_CACHE |
70 | 79 | */ |
71 | 80 | public class CacheEvent extends EventAdapter { |
72 | 81 | /** */ |
|
0 commit comments