import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;
import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListenerRegistration;
import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService;
ContextChain contextChain) {
return new FutureCallback<ResultState>() {
@Override
- public void onSuccess(@Nullable ResultState result) {
+ public void onSuccess(ResultState result) {
if (ResultState.DONOTHING == result) {
LOG.info("Device {} connection is enabled by reconciliation framework.", deviceInfo);
contextChain.continueInitializationAfterReconciliation();
}
@Override
- public void onFailure(@Nonnull Throwable throwable) {
+ public void onFailure(Throwable throwable) {
LOG.warn("Reconciliation framework failure.");
destroyContextChain(deviceInfo);
}