Class AlarmMember

java.lang.Object
io.etcd.jetcd.maintenance.AlarmMember

public class AlarmMember extends Object
  • Constructor Details

    • AlarmMember

      public AlarmMember(long memberId, AlarmType alarmType)
  • Method Details

    • getMemberId

      public long getMemberId()
      Returns the ID of the member associated with the raised alarm.
      Returns:
      the member id.
    • getAlarmType

      public AlarmType getAlarmType()
      Returns the type of alarm which has been raised.
      Returns:
      the alarm type.