89dae4a2ce37d8f1318fc354e22f01db0f8f9782
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / ThreadConfiguration.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.api.connection;\r
10 \r
11 /**\r
12  * @author michal.polkorab\r
13  *\r
14  */\r
15 public interface ThreadConfiguration {\r
16 \r
17     /**\r
18      * @return desired number of workerThreads processing the Openflow I/O\r
19      */\r
20     int getWorkerThreadCount();\r
21 \r
22     /**\r
23      * @return desired number of bossThreads registering incomming Openflow connections\r
24      */\r
25     int getBossThreadCount();\r
26 }\r