| java.lang.Object de.anomic.server.serverAbstractSwitch
All known Subclasses: de.anomic.plasma.plasmaSwitchboard, de.anomic.server.serverPlainSwitch, de.anomic.http.httpdSwitchboard,
serverAbstractSwitch | abstract public class serverAbstractSwitch implements serverSwitch(Code) | | |
Method Summary | |
public Iterator<String> | accessHosts() | public TreeMap<Long, String> | accessTrack(String host) | abstract public serverObjects | action(String actionName, serverObjects actionInput) | public void | addAuthentifyRight(InetAddress host, String right) | public Iterator<String> | configKeys() | abstract public boolean | deQueue() | public void | deployAction(String actionName, String actionShortDescription, String actionLongDescription, serverSwitchAction newAction) | public void | deployThread(String threadName, String threadShortDescription, String threadLongDescription, String threadMonitorURL, serverThread newThread, long startupDelay) | public void | deployThread(String threadName, String threadShortDescription, String threadLongDescription, String threadMonitorURL, serverThread newThread, long startupDelay, long initialIdleSleep, long initialBusySleep, long initialMemoryPreRequisite) | abstract public void | enQueue(Object job) | public String | getAuthentifyRights(InetAddress host) | public String | getAuthentifyUser(InetAddress host) | public String | getConfig(String key, String dflt) | public boolean | getConfigBool(String key, boolean dflt) | public double | getConfigDouble(String key, double dflt) | public long | getConfigLong(String key, long dflt) | public File | getConfigPath(String key, String dflt) Create a File instance for a configuration setting specifying a path.
Parameters: key - config key Parameters: dflt - default path value, that is used when there is no valuekey in the configuration. | public serverLog | getLog() | public Map<String, String> | getRemoved() | public File | getRootPath() | public serverThread | getThread(String threadName) | public void | handleBusyState(int jobs) | public boolean | hasAuthentifyRight(InetAddress host, String right) | public void | intermissionAllThreads(long pause) | abstract public int | queueSize() | public void | removeAuthentify(InetAddress host) | public void | setAuthentify(InetAddress host, String user, String rights) | public void | setConfig(Map<String, String> otherConfigs) | public void | setConfig(String key, boolean value) | public void | setConfig(String key, long value) | public void | setConfig(String key, double value) | public void | setConfig(String key, String value) | public void | setLog(serverLog log) | public void | setThreadPerformance(String threadName, long idleMillis, long busyMillis, long memprereqBytes) | public synchronized void | terminateAllThreads(boolean waitFor) | public synchronized void | terminateThread(String threadName, boolean waitFor) | public Iterator<String> | threadNames() | public String | toString() | public void | track(String host, String accessPath) | public void | undeployAction(String actionName) |
maxTrackingTime | protected long maxTrackingTime(Code) | | |
serverJobs | protected int serverJobs(Code) | | |
serverAbstractSwitch | public serverAbstractSwitch(File rootPath, String initPath, String configPath, boolean applyPro)(Code) | | |
deQueue | abstract public boolean deQueue()(Code) | | |
deployThread | public void deployThread(String threadName, String threadShortDescription, String threadLongDescription, String threadMonitorURL, serverThread newThread, long startupDelay, long initialIdleSleep, long initialBusySleep, long initialMemoryPreRequisite)(Code) | | |
getConfigBool | public boolean getConfigBool(String key, boolean dflt)(Code) | | |
getConfigDouble | public double getConfigDouble(String key, double dflt)(Code) | | |
getConfigLong | public long getConfigLong(String key, long dflt)(Code) | | |
getConfigPath | public File getConfigPath(String key, String dflt)(Code) | | Create a File instance for a configuration setting specifying a path.
Parameters: key - config key Parameters: dflt - default path value, that is used when there is no valuekey in the configuration. if the value of the setting is an absolute path String, then thereturned File is derived from this setting only. Otherwise the path's fileis constructed from the applications root path + the relative path setting. |
handleBusyState | public void handleBusyState(int jobs)(Code) | | |
intermissionAllThreads | public void intermissionAllThreads(long pause)(Code) | | |
queueSize | abstract public int queueSize()(Code) | | |
setConfig | public void setConfig(String key, boolean value)(Code) | | |
setConfig | public void setConfig(String key, long value)(Code) | | |
setConfig | public void setConfig(String key, double value)(Code) | | |
setThreadPerformance | public void setThreadPerformance(String threadName, long idleMillis, long busyMillis, long memprereqBytes)(Code) | | |
terminateAllThreads | public synchronized void terminateAllThreads(boolean waitFor)(Code) | | |
terminateThread | public synchronized void terminateThread(String threadName, boolean waitFor)(Code) | | |
undeployAction | public void undeployAction(String actionName)(Code) | | |
|
|