Class LockManagerUtils


  • @Singleton
    public class LockManagerUtils
    extends java.lang.Object
    • Constructor Detail

      • LockManagerUtils

        public LockManagerUtils()
                         throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException
    • 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()