Package org.lsst.ccs.messaging
Class DummyLock
java.lang.Object
org.lsst.ccs.messaging.DummyLock
- All Implemented Interfaces:
Serializable,AgentLock
A dummy lock used for preliminary implementation of the agent lock service.
- Author:
- LSST CCS Team
- See Also:
-
Constructor Details
-
DummyLock
-
DummyLock
-
-
Method Details
-
getAgentName
Description copied from interface:AgentLockThe agent name this lock stands for.- Specified by:
getAgentNamein interfaceAgentLock- Returns:
- the agent name this lock stands for.
-
getMaxLevel
public int getMaxLevel()Description copied from interface:AgentLockThe maximum level allowed by this lock.- Specified by:
getMaxLevelin interfaceAgentLock- Returns:
- the maximum level allowed by this lock
-
getToken
-
getOwner
Description copied from interface:AgentLockThe lock owner = userID. -
hashCode
public int hashCode() -
equals
-