2 * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
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
9 package org.opendaylight.openflowjava.protocol.api.connection;
12 * Threading configuration.
14 * @author michal.polkorab
16 public interface ThreadConfiguration {
19 * Returns the desired number of Openflow I/O worker threads.
21 * @return desired number of worker threads processing the Openflow I/O
23 int getWorkerThreadCount();
26 * Returns the desired number of incoming Openflow connection threads.
28 * @return desired number of bossThreads registering incoming Openflow connections
30 int getBossThreadCount();