public class Manager
extends java.lang.Object
DataManager
oder TaskManager
weitergeleitet. Diese Objekte
werden auch vom Manager
erzeugt.Constructor and Description |
---|
Manager(de.bsvrz.dav.daf.main.ClientDavInterface dav,
de.bsvrz.dav.daf.main.config.ConfigurationObject auth,
java.lang.String path,
int maxProtocols,
int quota,
long maxDelay,
int timeout,
int maxQueries,
Console console)
Erzeugt das Objekt.
|
Modifier and Type | Method and Description |
---|---|
DataManagerInterface |
getDataManager()
Liefert den DataManager zurück.
|
TaskManagerInterface |
getTaskManager()
Liefert den Taskmanager zurück
|
boolean |
isReady()
Zeigt an ob das Modul und alle Submodule vollständig hochgefahren wurde.
|
void |
launch(boolean prettyPrinter)
Startet das Submodul Manager.
|
void |
shutdown()
Fährt die SWE herunter.
|
void |
shutdownNoExit()
Fährt die SWE herunter.
|
void |
shutdownNoExit(boolean unsubscribe)
Fährt die SWE herunter.
|
public Manager(de.bsvrz.dav.daf.main.ClientDavInterface dav, de.bsvrz.dav.daf.main.config.ConfigurationObject auth, java.lang.String path, int maxProtocols, int quota, long maxDelay, int timeout, int maxQueries, Console console)
dav
- Verbindung zum Datenverteilerauth
- Konfigurationsverantwortlicherpath
- Pfad der Skript- und Protokolldateien. Muss mit einem Seperator enden.maxProtocols
- Anzahl der gleichzeitig erstellbaren Protokollequota
- Minimal freibleibender Speicherplatz in MB.maxDelay
- Maximale Zeitdauer in ms, für die die Protokollerstellung angehalten werden kann.timeout
- TimeoutmaxQueries
- Maximale Größe der Warteschlange für Anufträge zur Protokollerstellung.console
- Telnet Server Konsole.public void launch(boolean prettyPrinter) throws de.bsvrz.sys.funclib.losb.exceptions.FailureException
prettyPrinter
- Steuert ob der Pretty Printer verwendet werden soll.de.bsvrz.sys.funclib.losb.exceptions.FailureException
- Fehler beim StartenDataManagerInterface
,
TaskManagerInterface
public void shutdown() throws de.bsvrz.sys.funclib.losb.exceptions.FailureException
System.exit(int)
auf.de.bsvrz.sys.funclib.losb.exceptions.FailureException
- Fehler beim Herunterfahren.public void shutdownNoExit() throws de.bsvrz.sys.funclib.losb.exceptions.FailureException
shutdown()
nicht System.exit(int)
auf.de.bsvrz.sys.funclib.losb.exceptions.FailureException
- Fehler beim Herunterfahren.public void shutdownNoExit(boolean unsubscribe) throws de.bsvrz.sys.funclib.losb.exceptions.FailureException
shutdown()
nicht System.exit(int)
auf.unsubscribe
- Wenn true
, dann werden Abmeldungen beim DAV durchgeführt.de.bsvrz.sys.funclib.losb.exceptions.FailureException
- Fehler beim Herunterfahren.public boolean isReady()
true
wenn das Modul bereit zur Annahme von Aufträgen ist. false
sonst.public TaskManagerInterface getTaskManager()
null
sein.public DataManagerInterface getDataManager()
null
sein.