Class LicenseServerOperations
java.lang.Object
dev.demeng.sentinel.client.license.LicenseServerOperations
Operations for managing license server identifiers.
Obtain an instance via LicenseService.servers().
-
Method Summary
-
Method Details
-
add
Adds server identifiers to a license.- Parameters:
key- the license keyidentifiers- the set of server identifiers to add- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-
remove
Removes server identifiers from a license.- Parameters:
key- the license keyidentifiers- the set of server identifiers to remove- Returns:
- the updated license
- Throws:
SentinelException- if a network or API error occurs
-