Interface MastershipTermService


  • public interface MastershipTermService
    Service to obtain mastership term information.
    • 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.