Interface LockLevelService

All Known Implementing Classes:
AgentLockService

public interface LockLevelService
Interface for finding lock and level for an agent at the AgentMessagingLayer.
Author:
LSST CCS Team
  • Method Details

    • getLevelForAgent

      int getLevelForAgent(String agentName)
      Get this agent's operational level for the given subsystem.
      Parameters:
      agentName -
      Returns:
      a level
    • getLockForAgent

      AgentLock getLockForAgent(String agentName)
      Get this agent's lock, if available.
      Parameters:
      agentName - The agent name.
      Returns:
      The AgentLock held on the agent, if available. Otherwise null is returned.
    • getUserId

      String getUserId()
      Returns the current user.
      Returns:
      User ID.