Change return type of events
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / lifecycle / ReconciliationFrameworkRegistrar.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.openflowplugin.api.openflow.lifecycle;
9
10 import com.google.common.util.concurrent.FutureCallback;
11 import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
12
13 public interface ReconciliationFrameworkRegistrar {
14     /**
15      * Check if reconciliation framework is registered.
16      * If not the event {@link OwnershipChangeListener#becomeMasterBeforeSubmittedDS(DeviceInfo)}
17      * will not be triggered.
18      * @return true if there exists any reconciliation framework registration
19      */
20     boolean isReconciliationFrameworkRegistered();
21 }