Package org.apache.ignite.events

## Class SnapshotEvent

- java.lang.Object
- - org.apache.ignite.events.EventAdapter
  - - org.apache.ignite.events.SnapshotEvent

- All Implemented Interfaces:
    `Serializable`, `Comparable<Event>`, `Event`

      public class SnapshotEvent
      extends EventAdapter

  Event indicating the cluster snapshot operation result state with the given name.
  See Also:
    `EventType.EVT_CLUSTER_SNAPSHOT_STARTED`, `EventType.EVT_CLUSTER_SNAPSHOT_FINISHED`, `EventType.EVT_CLUSTER_SNAPSHOT_FAILED`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SnapshotEvent​(ClusterNode node, String msg, String snpName, int type)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `snapshotName()` |

    - ### Methods inherited from class org.apache.ignite.events.EventAdapter

      `compareTo, equals, hashCode, id, localOrder, message, message, name, node, node, shortDisplay, timestamp, toString, type, type`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SnapshotEvent

          public SnapshotEvent​(ClusterNode node,
                               String msg,
                               String snpName,
                               int type)

      Parameters:
        `node` - Node on which the event was fired.
        `msg` - Optional event message.
        `snpName` - Snapshot name.
        `type` - Snapshot event type.

  - ### Method Detail

    - #### snapshotName

          public String snapshotName()

      Returns:
        Snapshot name.