3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 * @file IListenRoleChange.java
14 * @brief Interface that needs to be implemented by who wants to be
15 * notified of new active change
19 * Interface that needs to be implemented by who wants to be notified
20 * of newly active taking over. Interface that is supposed to be
21 * short-lived and will be removed as soon as active-standby goal is reached.
23 package org.opendaylight.controller.clustering.services;
26 * Interface that needs to be implemented by who wants to be notified
27 * of newly active taking over. Interface that is supposed to be
28 * short-lived and will be removed as soon as active-standby goal is reached.
31 public interface IListenRoleChange {
35 * Function that will be called when a new active is
36 * available. This function is supposed only to be of use till
37 * active-standby milestone is reached, after will be removed.
40 void newActiveAvailable();