Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
OServerNetworkListener(OServer iServer,
OServerSocketFactory iSocketFactory,
String iHostName,
String iHostPortRange,
String iProtocolName,
Class<? extends ONetworkProtocol> iProtocol,
OServerParameterConfiguration[] iParameters,
OServerCommandConfiguration[] iCommands) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
public OServerNetworkListener(OServer iServer, OServerSocketFactory iSocketFactory, String iHostName, String iHostPortRange, String iProtocolName, Class<? extends ONetworkProtocol> iProtocol, OServerParameterConfiguration[] iParameters, OServerCommandConfiguration[] iCommands)
public static int[] getPorts(String iHostPortRange)
public static OServerCommand createCommand(OServer server, OServerCommandConfiguration iCommand)
public List<OServerCommandConfiguration> getStatefulCommands()
public List<OServerCommand> getStatelessCommands()
public OServerNetworkListener registerStatelessCommand(OServerCommand iCommand)
public OServerNetworkListener unregisterStatelessCommand(Class<? extends OServerCommand> iCommandClass)
public OServerNetworkListener registerStatefulCommand(OServerCommandConfiguration iCommand)
public OServerNetworkListener unregisterStatefulCommand(OServerCommandConfiguration iCommand)
public void shutdown()
public boolean isActive()
public void registerBeforeConnectNetworkEventListener(OBeforeDatabaseOpenNetworkEventListener listener)
public void unregisterBeforeConnectNetworkEventListener(OBeforeDatabaseOpenNetworkEventListener listener)
public Class<? extends ONetworkProtocol> getProtocolType()
public InetSocketAddress getInboundAddr()
public String getListeningAddress(boolean resolveMultiIfcWithLocal)
public static void main(String[] args)
public static String getLocalHostIp()
public List<OBeforeDatabaseOpenNetworkEventListener> getBeforeDatabaseOpenNetworkEventListener()
Copyright © 2009–2020 OrientDB. All rights reserved.