public interface AgentLockServiceDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
addAgentLockUpdateListener(AgentLockService.AgentLockUpdateListener slul) |
void |
attachLock(String agentName) |
void |
destroyLock(String agentName,
String userId) |
void |
detachLock(String agentName) |
List<String> |
getAllWorkerAgents() |
List<String> |
getAttachableAgents() |
List<String> |
getDetachableAgents() |
AgentLock |
getExistingLockForAgent(String agentName) |
Map<String,AgentLock> |
getHeldLocks() |
int |
getLevelForAgent(String agentName) |
List<String> |
getLocallyLockedAgents() |
List<String> |
getLockableAgents() |
List<String> |
getLockedAgents() |
AgentLock |
getLockForAgent(String agentName) |
Map<String,AgentLock> |
getLocks() |
void |
lockAgent(String agentName) |
void |
preInit() |
void |
preStart() |
void |
removeAgentLockUpdateListener(AgentLockService.AgentLockUpdateListener l) |
void |
setLevelForAgent(String agentName,
int level) |
void |
unlockAgent(String agentName) |
boolean |
validateLock(AgentLock lock) |
void preInit()
void preStart()
void setLevelForAgent(String agentName, int level) throws UnauthorizedLevelException, UnauthorizedLockException
void lockAgent(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionvoid unlockAgent(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionvoid attachLock(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionvoid detachLock(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionboolean validateLock(AgentLock lock)
int getLevelForAgent(String agentName)
void addAgentLockUpdateListener(AgentLockService.AgentLockUpdateListener slul)
void removeAgentLockUpdateListener(AgentLockService.AgentLockUpdateListener l)
Copyright © 2023 LSST. All rights reserved.