|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.opennmsDataSources.ConnectionPool
public class ConnectionPool
Database connection pool configuration.
| Constructor Summary | |
|---|---|
ConnectionPool()
|
|
| Method Summary | |
|---|---|
void |
deleteIdleTimeout()
|
void |
deleteLoginTimeout()
|
void |
deleteMaxPool()
|
void |
deleteMaxSize()
|
void |
deleteMinPool()
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method. |
String |
getFactory()
Returns the value of field 'factory'. |
int |
getIdleTimeout()
Returns the value of field 'idleTimeout'. |
int |
getLoginTimeout()
Returns the value of field 'loginTimeout'. |
int |
getMaxPool()
Returns the value of field 'maxPool'. |
int |
getMaxSize()
Returns the value of field 'maxSize'. |
int |
getMinPool()
Returns the value of field 'minPool'. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
hasIdleTimeout()
Method hasIdleTimeout. |
boolean |
hasLoginTimeout()
Method hasLoginTimeout. |
boolean |
hasMaxPool()
Method hasMaxPool. |
boolean |
hasMaxSize()
Method hasMaxSize. |
boolean |
hasMinPool()
Method hasMinPool. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setFactory(String factory)
Sets the value of field 'factory'. |
void |
setIdleTimeout(int idleTimeout)
Sets the value of field 'idleTimeout'. |
void |
setLoginTimeout(int loginTimeout)
Sets the value of field 'loginTimeout'. |
void |
setMaxPool(int maxPool)
Sets the value of field 'maxPool'. |
void |
setMaxSize(int maxSize)
Sets the value of field 'maxSize'. |
void |
setMinPool(int minPool)
Sets the value of field 'minPool'. |
static ConnectionPool |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionPool()
| Method Detail |
|---|
public void deleteIdleTimeout()
public void deleteLoginTimeout()
public void deleteMaxPool()
public void deleteMaxSize()
public void deleteMinPool()
public boolean equals(Object obj)
equals in class Objectobj -
public String getFactory()
public int getIdleTimeout()
public int getLoginTimeout()
public int getMaxPool()
public int getMaxSize()
public int getMinPool()
public boolean hasIdleTimeout()
public boolean hasLoginTimeout()
public boolean hasMaxPool()
public boolean hasMaxSize()
public boolean hasMinPool()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode in class Objectpublic boolean isValid()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setFactory(String factory)
factory - the value of field 'factory'.public void setIdleTimeout(int idleTimeout)
idleTimeout - the value of field 'idleTimeout'.public void setLoginTimeout(int loginTimeout)
loginTimeout - the value of field 'loginTimeout'.public void setMaxPool(int maxPool)
maxPool - the value of field 'maxPool'.public void setMaxSize(int maxSize)
maxSize - the value of field 'maxSize'.public void setMinPool(int minPool)
minPool - the value of field 'minPool'.
public static ConnectionPool unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||