public class SocketThread extends Object implements Runnable
Modifier and Type | Class and Description |
---|---|
protected class |
SocketThread.ResultsListener |
Modifier and Type | Field and Description |
---|---|
static int |
DEF_MAX_THREADS_PER_CPU
Field description
|
Modifier and Type | Method and Description |
---|---|
static void |
addSocketService(IOService<?> s)
Method description
|
void |
addSocketServicePriv(IOService<?> s)
Method description
|
static void |
removeSocketService(IOService<Object> s)
Method description
|
void |
removeSocketServicePriv(IOService<?> s) |
void |
run() |
void |
setMaxThread(int threads)
Method description
|
void |
setMaxThreadPerCPU(int threads)
Method description
|
public static final int DEF_MAX_THREADS_PER_CPU
public static void addSocketService(IOService<?> s)
s
- public static void removeSocketService(IOService<Object> s)
s
- public void addSocketServicePriv(IOService<?> s)
s
- public void removeSocketServicePriv(IOService<?> s)
public void setMaxThread(int threads)
threads
- public void setMaxThreadPerCPU(int threads)
threads
- Copyright © 2017 "Tigase, Inc.". All rights reserved.