org.terracotta.cluster
Interface ClusterEvent


public interface ClusterEvent

Indicates that the state of a node in the cluster has changed.

Instances of the TerracottaClusterEvent are provided as arguments of the ClusterListener methods.


Nested Class Summary
static class ClusterEvent.Type
           
 
Method Summary
 ClusterNode getNode()
          Retrieves the node that this event talks about.
 ClusterEvent.Type getType()
          Retrieves the type of this event.
 

Method Detail

getNode

ClusterNode getNode()
Retrieves the node that this event talks about.

Returns:
the instance of the related node

getType

ClusterEvent.Type getType()
Retrieves the type of this event.

Returns:
event type


Copyright © 2015 Terracotta, Inc.. All Rights Reserved.