Refactoring of 'extractIpv4Mask' method
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / statistics / StatisticsContext.java
1 /*
2  * Copyright (c) 2015 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
9 package org.opendaylight.openflowplugin.api.openflow.statistics;
10
11 import com.google.common.util.concurrent.ListenableFuture;
12 import io.netty.util.Timeout;
13 import org.opendaylight.openflowplugin.api.openflow.device.RequestContextStack;
14
15 /**
16  * Created by Martin Bobak <mbobak@cisco.com> on 27.2.2015.
17  */
18 public interface StatisticsContext extends RequestContextStack, AutoCloseable {
19
20     ListenableFuture<Boolean> gatherDynamicData();
21
22     /**
23      * @param pollTimeout handle to nearest scheduled statistics poll
24      */
25     void setPollTimeout(Timeout pollTimeout);
26 }