public class RemoteAgentLockService extends AbstractAgentLockServiceDelegate
agentLevels, agentLockUpdateListeners, allLocks, heldLocks, listenerUpdatesLock, log, myCurrentLock, svc| Constructor and Description |
|---|
RemoteAgentLockService(AgentLockService svc) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachLock(String agentName) |
void |
destroyLock(String agentName,
String userId) |
void |
detachLock(String agentName) |
void |
lockAgent(String agentName) |
void |
preInit() |
void |
preStart() |
void |
setLevelForAgent(String agentName,
int level) |
void |
unlockAgent(String agentName) |
addAgentLockUpdateListener, addHeldLock, getAgent, getAgentStateService, getAllWorkerAgents, getAttachableAgents, getCurrentLock, getDetachableAgents, getExistingLockForAgent, getHeldLocks, getLevelForAgent, getLocallyLockedAgents, getLockableAgents, getLockedAgents, getLockForAgent, getLocks, getMaxLevel, notifyGlobalLockListeners, notifyHeldLockListeners, notifyLevelListeners, notifyLockListeners, notifyLockVisibility, onAgentLoginUpdate, removeAgentLockUpdateListener, removeCurrentLock, removeHeldLock, setCurrentLock, setLevelInternal, validateLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnected, connecting, disconnected, disconnectingpublic RemoteAgentLockService(AgentLockService svc)
public void preInit()
preInit in interface AgentLockServiceDelegatepreInit in class AbstractAgentLockServiceDelegatepublic void preStart()
preStart in interface AgentLockServiceDelegatepreStart in class AbstractAgentLockServiceDelegatepublic void setLevelForAgent(String agentName, int level) throws UnauthorizedLevelException, UnauthorizedLockException
public void attachLock(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionpublic void detachLock(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionpublic void lockAgent(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionpublic void unlockAgent(String agentName) throws UnauthorizedLockException
UnauthorizedLockExceptionCopyright © 2023 LSST. All rights reserved.