@Beta
public interface LabelResourceAdminService
Modifier and Type | Method and Description |
---|---|
boolean |
createDevicePool(DeviceId deviceId,
LabelResourceId beginLabel,
LabelResourceId endLabel)
Creates the only label resource of some device id from begin label to end
label.
|
boolean |
createGlobalPool(LabelResourceId beginLabel,
LabelResourceId endLabel)
Creates the only global label resource pool.
|
boolean |
destroyDevicePool(DeviceId deviceId)
Destroys a label resource pool of a specific device id.
|
boolean |
destroyGlobalPool()
Destroys the global label resource pool.
|
boolean createDevicePool(DeviceId deviceId, LabelResourceId beginLabel, LabelResourceId endLabel)
deviceId
- device identifierbeginLabel
- represents for the first label id in the range of label
poolendLabel
- represents for the last label id in the range of label
poolboolean createGlobalPool(LabelResourceId beginLabel, LabelResourceId endLabel)
beginLabel
- represents for the first label id in the range of label
poolendLabel
- represents for the last label id in the range of label
poolboolean destroyDevicePool(DeviceId deviceId)
deviceId
- device identifierboolean destroyGlobalPool()