public class GlobalStateManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
GlobalStateManager.LoggerIsMappedToThreadScope |
Constructor and Description |
---|
GlobalStateManager() |
public static GlobalStateManager singleton()
public GlobalStateManager.LoggerIsMappedToThreadScope setupLoggers(InvocationInfo info, OutputStream consoleHandlerStream, OutputStream consoleHandlerOriginalStream, Verbosity consoleHandlerVerbosity)
public CommonThreadFactoryState getThreadToCommandRegister()
public ConsoleHandlerState getConsoleHandlerState()
public ThreadIdToCommandIdMapper getThreadIdToCommandIdMapper()
public CommandIdToIsDaemonMapper getCommandIdToIsDaemonMapper()
public CommandIdToIsRemoteExecutionMapper getCommandIdToIsRemoteExecutionMapper()
public CommandIdToIsSuperConsoleEnabledMapper getCommandIdToIsSuperConsoleEnabledMapper()
public String getRepository()
public LogFileHandlerState getLogFileHandlerState()
LogFileHandlerState.getWriters(java.lang.String)
must not be closed! This class
manages their lifetime.protected void finalize()
finalize
in class Object
IOException
- if an I/O error occurs.