Package org.onosproject.mastership
Interface MastershipTermService
-
public interface MastershipTermServiceService to obtain mastership term information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MastershipTermgetMastershipTerm(DeviceId deviceId)Returns the term number of mastership change occurred for given device.
-
-
-
Method Detail
-
getMastershipTerm
MastershipTerm getMastershipTerm(DeviceId deviceId)
Returns the term number of mastership change occurred for given device.- Parameters:
deviceId- the identifier of the device- Returns:
- current master's term.
-
-