|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object janus.net.ProxyServer.Config
public static class ProxyServer.Config
Innere Klasse für die Konfigurationsdaten
Field Summary | |
---|---|
protected boolean |
autorelease
Automatische Freigabe der Verbindung, wenn keine Transaktion aktiv ist |
protected ConnectionPool |
pool
Connection-Pool |
protected int |
timeout
Timeout für ConnectionPool#getConnection |
Constructor Summary | |
---|---|
ProxyServer.Config(ConnectionPool pool,
int timeout,
boolean autorelease)
Konstruktor - setzt die Werte |
|
ProxyServer.Config(int size,
String host,
int port,
String pathmon,
int timeout,
boolean autorelease)
Konstruktor - erzeugt den Pool und setzt die Werte |
|
ProxyServer.Config(int size,
String host,
int port,
String pathmon,
int timeout,
boolean autorelease,
boolean debug)
Konstruktor - erzeugt den Pool und setzt die Werte |
|
ProxyServer.Config(int size,
String host,
int port,
String pathmon,
int timeout,
PrintWriter stream)
Konstruktor - erzeugt den Pool und setzt die Werte |
Method Summary | |
---|---|
ConnectionPool |
getConnectionPool()
Ermittle den Pool |
int |
getTimeout()
Ermittle den Timeout |
boolean |
isAutorelease()
Ermittle das Autorelease-Flag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean autorelease
protected ConnectionPool pool
protected int timeout
Constructor Detail |
---|
public ProxyServer.Config(ConnectionPool pool, int timeout, boolean autorelease)
pool
- Der Verbindungspooltimeout
- Die maximale Pool-Wartezeitautorelease
- Gibt Verbindungen automatisch freipublic ProxyServer.Config(int size, String host, int port, String pathmon, int timeout, boolean autorelease)
size
- Maximale Anzahl der Connectionshost
- TCP/IP-Adresse des Hostsport
- TCP/IP-Port des Hostspathmon
- Initialisierungs-Information (Pathmon-Name)timeout
- Die maximale Pool-Wartezeitautorelease
- Gibt Verbindungen automatisch freipublic ProxyServer.Config(int size, String host, int port, String pathmon, int timeout, boolean autorelease, boolean debug)
size
- Maximale Anzahl der Connectionshost
- TCP/IP-Adresse des Hostsport
- TCP/IP-Port des Hostspathmon
- Initialisierungs-Information (Pathmon-Name)timeout
- Die maximale Pool-Wartezeitautorelease
- Gibt Verbindungen automatisch freidebug
- Debug-Ausgaben auf der Konsolepublic ProxyServer.Config(int size, String host, int port, String pathmon, int timeout, PrintWriter stream)
size
- Maximale Anzahl der Connectionshost
- TCP/IP-Adresse des Hostsport
- TCP/IP-Port des Hostspathmon
- Initialisierungs-Information (Pathmon-Name)timeout
- Die maximale Pool-Wartezeitstream
- PrintWriter für die Debug-AusgabenMethod Detail |
---|
public ConnectionPool getConnectionPool()
public int getTimeout()
public boolean isAutorelease()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |