public final class Net4jUtil extends Object
Modifier and Type | Field and Description |
---|---|
static short |
DEFAULT_BUFFER_CAPACITY |
static String |
SCHEME_SEPARATOR |
public static final String SCHEME_SEPARATOR
public static final short DEFAULT_BUFFER_CAPACITY
public static void prepareContainer(IManagedContainer container)
public static ExecutorService getExecutorService(IManagedContainer container)
public static IBufferProvider getBufferProvider(IManagedContainer container)
public static IAcceptor getAcceptor(IManagedContainer container, String type, String description)
public static IConnector getConnector(IManagedContainer container, String type, String description, long timeout)
public static IConnector getConnector(IManagedContainer container, String type, String description)
public static IConnector getConnector(IManagedContainer container, String description)
public static IBufferProvider createBufferFactory(short bufferCapacity)
public static IBufferProvider createBufferFactory()
public static IBufferPool createBufferPool(IBufferProvider factory)
public static IBufferPool createBufferPool(short bufferCapacity)
public static IBufferPool createBufferPool()
public static long getProvidedBuffers(IBufferProvider bufferProvider)
public static long getRetainedBuffers(IBufferProvider bufferProvider)
public static int getPooledBuffers(IBufferPool bufferPool)
public static ITransportConfig copyTransportConfig(ILifecycle lifecycle, ITransportConfig source)
public static int getProtocolVersion(IProtocol<?> protocol)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.