public class ConnectionPool extends Object implements Serializable
Constructor and Description |
---|
ConnectionPool() |
Modifier and Type | Method and Description |
---|---|
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() |
public void deleteIdleTimeout()
public void deleteLoginTimeout()
public void deleteMaxPool()
public void deleteMaxSize()
public void deleteMinPool()
public boolean equals(Object obj)
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
public 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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2017. All rights reserved.