Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / sal / core / spi / data / statistics / DOMStoreStatsTracker.java
1 /*
2  * Copyright (c) 2014 Brocade Communications 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
9 package org.opendaylight.controller.sal.core.spi.data.statistics;
10
11 import java.util.concurrent.ExecutorService;
12 import org.eclipse.jdt.annotation.NonNull;
13 import org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager;
14
15 /**
16  * Interface for a class that tracks statistics for a data store.
17  *
18  * @author Thomas Pantelis
19  */
20 @Deprecated
21 public interface DOMStoreStatsTracker {
22
23     /**
24      * Sets the executor used for DataChangeListener notifications.
25      *
26      * @param dclExecutor the executor
27      */
28     void setDataChangeListenerExecutor(@NonNull ExecutorService dclExecutor);
29
30     /**
31      * Sets the executor used internally by the data store.
32      *
33      * @param dsExecutor the executor
34      */
35     void setDataStoreExecutor(@NonNull ExecutorService dsExecutor);
36
37     /**
38      * Sets the QueuedNotificationManager use for DataChangeListener notifications.
39      *
40      * @param manager the manager
41      */
42     void setNotificationManager(@NonNull QueuedNotificationManager<?, ?> manager);
43 }