Package io.etcd.jetcd.maintenance
Class AlarmMember
- java.lang.Object
-
- io.etcd.jetcd.maintenance.AlarmMember
-
public class AlarmMember extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlarmMember(long memberId, AlarmType alarmType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmTypegetAlarmType()Returns the type of alarm which has been raised.longgetMemberId()Returns the ID of the member associated with the raised alarm.
-
-
-
Constructor Detail
-
AlarmMember
public AlarmMember(long memberId, AlarmType alarmType)
-
-
Method Detail
-
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.
-
-