Class NodeDisconnectedEvent

  • All Implemented Interfaces:
    CouchbaseEvent

    public class NodeDisconnectedEvent
    extends Object
    implements CouchbaseEvent
    Event published when a node is disconnected.
    Since:
    1.1.0
    Author:
    Michael Nitschinger
    • Constructor Detail

      • NodeDisconnectedEvent

        public NodeDisconnectedEvent​(String host)
    • Method Detail

      • host

        public InetAddress host()
        The host address of the disconnected node.
        Returns:
        the inet address of the disconnected node
      • toMap

        public Map<String,​Object> toMap()
        Description copied from interface: CouchbaseEvent
        Converts the event into a map representation of simple types.
        Specified by:
        toMap in interface CouchbaseEvent
        Returns:
        the map representation.