Merge "Spec: OFPGC_ADD_OR_MOD support in openflowplugin"
[openflowplugin.git] / openflowjava / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ThreadConfiguration.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  * Threading configuration.
13  *
14  * @author michal.polkorab
15  */
16 public interface ThreadConfiguration {
17
18     /**
19      * Returns the desired number of Openflow I/O worker threads.
20      *
21      * @return desired number of worker threads processing the Openflow I/O
22      */
23     int getWorkerThreadCount();
24
25     /**
26      * Returns the desired number of incoming Openflow connection threads.
27      *
28      * @return desired number of bossThreads registering incoming Openflow connections
29      */
30     int getBossThreadCount();
31 }