Class LockManagerUtils
- java.lang.Object
-
- org.opendaylight.genius.lockmanager.impl.LockManagerUtils
-
@Singleton public class LockManagerUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LockManagerUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Lock
buildLock(java.lang.String lockName, java.lang.String owner)
java.util.concurrent.TimeUnit
convertToTimeUnit(TimeUnits timeUnit)
int
getBladeId()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Lock>
getLockInstanceIdentifier(java.lang.String lockName)
static org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Lock,LockKey>
getLockInstanceIdentifier(LockKey lockKey)
java.lang.String
getUniqueID()
-
-
-
Method Detail
-
convertToTimeUnit
public java.util.concurrent.TimeUnit convertToTimeUnit(TimeUnits timeUnit)
-
getLockInstanceIdentifier
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Lock> getLockInstanceIdentifier(java.lang.String lockName)
-
getLockInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Lock,LockKey> getLockInstanceIdentifier(LockKey lockKey)
-
buildLock
public Lock buildLock(java.lang.String lockName, java.lang.String owner)
-
getUniqueID
public java.lang.String getUniqueID()
-
getBladeId
public int getBladeId()
-
-