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 { leaf lock-name { type string; } } output; } rpc try-lock { input { leaf lock-name { type string; } leaf time { type uint32; } leaf time-unit { type time-units; } } output; } rpc unlock { input { leaf lock-name { type string; } } output; } }
Modifier and Type | Method and Description |
---|---|
@Nullable Locks |
getLocks()
Holds the list of lock name and lock owner
|
@Nullable Locks getLocks()
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.lockmanager.rev160413.Locks
locks
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.