Package hudson.plugins.spotinst.repos
Class LockRepo
- java.lang.Object
-
- hudson.plugins.spotinst.repos.LockRepo
-
-
Constructor Summary
Constructors Constructor Description LockRepo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiResponse<String>
acquireGroupControllerLock(String accountId, String groupId, String controllerIdentifier, Integer ttl)
ApiResponse<Integer>
deleteGroupControllerLock(String accountId, String groupId)
ApiResponse<String>
getGroupControllerLockValue(String accountId, String groupId)
ApiResponse<String>
setGroupControllerLockExpiry(String accountId, String groupId, String controllerIdentifier, Integer ttl)
-
-
-
Method Detail
-
acquireGroupControllerLock
public ApiResponse<String> acquireGroupControllerLock(String accountId, String groupId, String controllerIdentifier, Integer ttl)
- Specified by:
acquireGroupControllerLock
in interfaceILockRepo
-
setGroupControllerLockExpiry
public ApiResponse<String> setGroupControllerLockExpiry(String accountId, String groupId, String controllerIdentifier, Integer ttl)
- Specified by:
setGroupControllerLockExpiry
in interfaceILockRepo
-
getGroupControllerLockValue
public ApiResponse<String> getGroupControllerLockValue(String accountId, String groupId)
- Specified by:
getGroupControllerLockValue
in interfaceILockRepo
-
deleteGroupControllerLock
public ApiResponse<Integer> deleteGroupControllerLock(String accountId, String groupId)
- Specified by:
deleteGroupControllerLock
in interfaceILockRepo
-
-