c5d7a6aaab0333eae5c0308e51ee3fbb8831adaf
[openflowjava.git] / openflow-protocol-spi / src / main / java / org / opendaylight / openflowjava / protocol / spi / statistics / StatisticsHandler.java
1 /*\r
2  * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 \r
9 package org.opendaylight.openflowjava.protocol.spi.statistics;\r
10 \r
11 /**\r
12  * Used for JConsole service\r
13  * \r
14  * @author michal.polkorab\r
15  */\r
16 public interface StatisticsHandler {\r
17 \r
18     /**\r
19      * Resets all counters\r
20      */\r
21     public void resetCounters();\r
22 \r
23     /**\r
24      * Prints statistics\r
25      * @return statistics\r
26      */\r
27     public String printStatistics();\r
28 }