@Singleton public class LockManagerServiceImpl extends Object implements LockManagerService
Constructor and Description |
---|
LockManagerServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
LockManagerUtils lockManagerUtils) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<LockOutput>> |
lock(LockInput input)
Method that checks if its locked already.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TryLockOutput>> |
tryLock(TryLockInput input)
Method that checks if its locked already.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UnlockOutput>> |
unlock(UnlockInput input)
Method that removes the lock from the list of locks
|
@Inject public LockManagerServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, LockManagerUtils lockManagerUtils)
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<LockOutput>> lock(LockInput input)
LockManagerService
lock
in interface LockManagerService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<TryLockOutput>> tryLock(TryLockInput input)
LockManagerService
tryLock
in interface LockManagerService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UnlockOutput>> unlock(UnlockInput input)
LockManagerService
unlock
in interface LockManagerService
Copyright © 2019 OpenDaylight. All rights reserved.