f54e1315be06a546ad6d62c4a92a693c8b3197cd
[controller.git] / opendaylight / sal / yang-prototype / sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / data / DataRefresher.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. 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.controller.sal.binding.api.data;
9
10 import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
11 import org.opendaylight.controller.sal.binding.api.BindingAwareProvider.ProviderFunctionality;
12
13 /**
14  * Trigger for refreshing of the data exposed by the {@link Provider}
15  * 
16  * 
17  * 
18  */
19 public interface DataRefresher extends BindingAwareProvider.ProviderFunctionality {
20
21     /**
22      * Fired when some component explicitly requested the data refresh.
23      * 
24      * The provider which exposed the {@link DataRefresher} should republish its
25      * provided data by editing the data in all affected data stores.
26      */
27     void refreshData();
28 }