You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Belyakov (JIRA)" <ji...@apache.org> on 2019/03/28 17:16:00 UTC

[jira] [Created] (IGNITE-11651) Add cluster (de)activation events documentation

Igor Belyakov created IGNITE-11651:
--------------------------------------

             Summary: Add cluster (de)activation events documentation
                 Key: IGNITE-11651
                 URL: https://issues.apache.org/jira/browse/IGNITE-11651
             Project: Ignite
          Issue Type: Task
          Components: documentation
            Reporter: Igor Belyakov
            Assignee: Artem Budnikov
             Fix For: 2.8


{{Add information regarding cluster activation events to [https://apacheignite.readme.io/docs/baseline-topology#section-activating-the-cluster]}}

 

After cluster activation/deactivation local event will be raised. (EVT_CLUSTER_ACTIVATED/EVT_CLUSTER_DEACTIVATED)

Subscribing for local events described here:

[https://apacheignite.readme.io/docs/events#section-local-events]

Example:

 ignite.events().localListen((evt) -> {
      // Do something.
      return true;
   }, EventType.EVT_CLUSTER_ACTIVATED);

Cluster event types:

{{EVT_CLUSTER_ACTIVATED - Invoked after Ignite cluster activation.}}

{{EVT_CLUSTER_DEACTIVATED - Invoked after Ignite cluster deactivation.}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)