Fix checkstyle violations in openflow-protocol-api
[openflowplugin.git] / openflowjava / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / StatisticsConfiguration.java
1 /*
2  * Copyright (c) 2014 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
9 package org.opendaylight.openflowjava.protocol.api.connection;
10
11 /**
12  * Used for StatisticsCounter configuration.
13  *
14  * @author madamjak
15  */
16 public interface StatisticsConfiguration {
17
18     /**
19      * Determines if statistics are enabled.
20      *
21      * @return true if statistics are / will be collected, false otherwise
22      */
23     boolean getStatisticsCollect();
24
25     /**
26      * Returns the delay between two statistics logs.
27      *
28      * @return delay between two statistics logs (in milliseconds)
29      */
30     int getLogReportDelay();
31 }