public class Engine
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
add(Closeable c) |
static Manager |
add(Config config,
Listener listener) |
static Manager |
add(Config config,
Listener listener,
Manager wrapper) |
static void |
close() |
static boolean |
contains(Closeable c) |
static HashExecutor |
getApplicationExecutor() |
static long |
getIntranetKeepAliveTimeout() |
static HashExecutor |
getProtocolExecutor() |
static java.util.concurrent.ScheduledExecutorService |
getProtocolScheduler() |
static void |
open(int netProcessors,
int protocolSchedulers,
int applicationExecutors) |
static void |
open(int nioCpus,
int netProcessors,
int protocolSchedulers,
int applicationExecutors) |
static void |
registerDriver(Driver driver) |
static boolean |
remove(Closeable c) |
public static void registerDriver(Driver driver)
public static void open(int netProcessors, int protocolSchedulers, int applicationExecutors) throws java.lang.Exception
java.lang.Exception
public static void open(int nioCpus, int netProcessors, int protocolSchedulers, int applicationExecutors) throws java.lang.Exception
java.lang.Exception
public static void close()
public static void add(Closeable c)
public static Manager add(Config config, Listener listener, Manager wrapper) throws java.lang.Exception
java.lang.Exception
public static Manager add(Config config, Listener listener) throws java.lang.Exception
java.lang.Exception
public static boolean remove(Closeable c)
public static boolean contains(Closeable c)
public static java.util.concurrent.ScheduledExecutorService getProtocolScheduler()
public static HashExecutor getProtocolExecutor()
public static HashExecutor getApplicationExecutor()
public static long getIntranetKeepAliveTimeout()