public interface MastershipAdminService
| Modifier and Type | Method and Description |
|---|---|
void |
balanceRoles()
Balances the mastership to be shared as evenly as possibly by all
online instances.
|
void |
setRole(NodeId instance,
DeviceId deviceId,
MastershipRole role)
Applies the current mastership role for the specified device.
|
void setRole(NodeId instance, DeviceId deviceId, MastershipRole role)
instance - controller instance identifierdeviceId - device identifierrole - requested rolevoid balanceRoles()
Copyright © 2015. All rights reserved.