Class RDUtilsImpl
- java.lang.Object
-
- org.opendaylight.genius.networkutils.impl.RDUtilsImpl
-
-
Constructor Summary
Constructors Constructor Description RDUtilsImpl(NetworkConfig networkConfig, IdManagerService idManagerService, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
convertIdValuetoRD(long idValue)
java.lang.String
getRD(java.lang.String rdKey)
com.google.common.base.Optional<IdPool>
getRDPool()
void
releaseRD(java.lang.String rdKey)
-
-
-
Constructor Detail
-
RDUtilsImpl
@Inject public RDUtilsImpl(NetworkConfig networkConfig, IdManagerService idManagerService, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
-
-
Method Detail
-
convertIdValuetoRD
public java.lang.String convertIdValuetoRD(long idValue)
-
getRD
public java.lang.String getRD(java.lang.String rdKey) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
-
releaseRD
public void releaseRD(java.lang.String rdKey) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
-
-