Interface LockManagerData
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot
public interface LockManagerData extends org.opendaylight.yangtools.yang.binding.DataRoot
This class represents the following YANG schema fragment defined in module lock-manager
module lock-manager { namespace urn:opendaylight:genius:lockmanager; prefix lockmgr; revision 2016-04-13 { } typedef time-units { type enumeration { enum days; enum hours; enum microseconds; enum milliseconds; enum minutes; enum nanoseconds; enum seconds; } } container locks { list lock { key lock-name; leaf lock-name { type string; } leaf lock-owner { type string; } } } rpc lock { input input { leaf lock-name { type string; } } } rpc try-lock { input input { leaf lock-name { type string; } leaf time { type uint32; } leaf time-unit { type time-units; } } } rpc unlock { input input { leaf lock-name { type string; } } } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Locks
getLocks()
Holds the list of lock name and lock owner
-
-
-
Method Detail
-
getLocks
Locks getLocks()
Holds the list of lock name and lock owner- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.lockmanager.rev160413.Locks
locks
, ornull
if not present
-
-