public interface GroupBeAdmin
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMember(java.lang.String groupID,
java.lang.String deviceType,
java.lang.String deviceID)
Check if device is a member of given group
|
<any> |
listComponents(java.lang.String groupID,
java.lang.String cuType,
java.lang.String cuFilter,
ClusterContext context)
Lists control units on given group Id, control unit type and control unit filter.
|
boolean |
supportsMSLoadDistribution(java.lang.String groupId)
Tests if the provider for a given group id can list its components considering the cluster load balance distribution.
|
boolean supportsMSLoadDistribution(java.lang.String groupId)
throws ManagementException
listComponents(String, String, String, ClusterContext) is expected to return only the set of control units for which
the current backend host is responsible for.groupId - group IDtrue, if provider supports load distribution, false - otherwiseManagementException<any> listComponents(java.lang.String groupID,
java.lang.String cuType,
java.lang.String cuFilter,
ClusterContext context)
throws ManagementException
ClusterContext parameter is provided to be
passed to Group Providers and used further by them in system-utilities like:
GroupAdminSystemSupport#amIResponisbleFor(ControlUnitID, ClusterContext)
GroupAdminSystemSupport.listComponents(String, String, String, ClusterContext)
GroupAdminUtils#makeLoadBalanceRestrictionSQL(String, ClusterContext)groupId - group IDcuType - control unit typecuFilter - control unit filtercontext - cluster contextManagementExceptionboolean isMember(java.lang.String groupID,
java.lang.String deviceType,
java.lang.String deviceID)
throws ManagementException
groupID - group IDdeviceType - device typedeviceID - device IDtrue if the given dives is member of the specified group, false - otherwiseManagementException - if system error occursCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.