Package org.opendaylight.protocol.util
Class CheckUtil
java.lang.Object
org.opendaylight.protocol.util.CheckUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkEquals
(CheckUtil.CheckEquals function) static void
checkEquals
(CheckUtil.CheckEquals function, int timeout) static <T extends org.opendaylight.yangtools.binding.DataObject>
voidcheckNotPresentConfiguration
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) static <T extends org.opendaylight.yangtools.binding.DataObject>
voidcheckNotPresentOperational
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) static <T extends org.opendaylight.yangtools.binding.DataObject>
TcheckPresentConfiguration
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) static <T extends org.opendaylight.yangtools.binding.DataObject>
TcheckPresentOperational
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) static void
checkReceivedMessages
(CheckUtil.ListenerCheck listener, int numberOfMessages) static <R,
T extends org.opendaylight.yangtools.binding.DataObject>
RreadDataConfiguration
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid, Function<T, R> function) static <R,
T extends org.opendaylight.yangtools.binding.DataObject>
RreadDataOperational
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid, Function<T, R> function) static <T extends io.netty.util.concurrent.Future<?>>
voidwaitFutureSuccess
(T future)
-
Method Details
-
waitFutureSuccess
public static <T extends io.netty.util.concurrent.Future<?>> void waitFutureSuccess(T future) -
readDataOperational
public static <R,T extends org.opendaylight.yangtools.binding.DataObject> R readDataOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid, Function<T, R> function) throws InterruptedException, ExecutionException -
readDataConfiguration
public static <R,T extends org.opendaylight.yangtools.binding.DataObject> R readDataConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid, Function<T, R> function) throws InterruptedException, ExecutionException -
checkPresentOperational
public static <T extends org.opendaylight.yangtools.binding.DataObject> T checkPresentOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) throws InterruptedException, ExecutionException -
checkPresentConfiguration
public static <T extends org.opendaylight.yangtools.binding.DataObject> T checkPresentConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) throws InterruptedException, ExecutionException -
checkNotPresentOperational
public static <T extends org.opendaylight.yangtools.binding.DataObject> void checkNotPresentOperational(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) throws InterruptedException, ExecutionException -
checkNotPresentConfiguration
public static <T extends org.opendaylight.yangtools.binding.DataObject> void checkNotPresentConfiguration(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.yangtools.binding.DataObjectIdentifier<T> iid) throws InterruptedException, ExecutionException -
checkEquals
- Throws:
Exception
-
checkEquals
- Throws:
Exception
-
checkReceivedMessages
-