| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final IncludeExcludeSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Class | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | onClosed(Connection connection)
Overrides org. Overrides default org. |
| public void | onOpened(Connection connection)
Overrides org. Overrides default org. |
| _set | back to summary |
|---|---|
| private final IncludeExcludeSet<Class<? extends Connection>, Connection> _set | |
| IncludeExcludeConnectionStatistics | back to summary |
|---|---|
| public IncludeExcludeConnectionStatistics() | |
| connectionForName | back to summary |
|---|---|
| private Class | |
| exclude | back to summary |
|---|---|
| public void exclude(String className) throws ClassNotFoundException | |
| exclude | back to summary |
|---|---|
| public void exclude(Class<? extends Connection> clazz) | |
| include | back to summary |
|---|---|
| public void include(String className) throws ClassNotFoundException | |
| include | back to summary |
|---|---|
| public void include(Class<? extends Connection> clazz) | |
| onClosed | back to summary |
|---|---|
| public void onClosed(Connection connection) Overrides org. Overrides default org.
| |
| onOpened | back to summary |
|---|---|
| public void onOpened(Connection connection) Overrides org. Overrides default org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(Class<? extends Connection>
element to be added to this set aClass)Overrides java. Implements java. |
| public Iterator | iterator()
Implements abstract java. Implements java. |
| public boolean | remove(Object
object to be removed from this set, if present o)Overrides java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| public boolean | test(Connection
the input argument connection)Implements java. |
| set | back to summary |
|---|---|
| private final Set<Class<? extends Connection>> set | |
| ConnectionSet | back to summary |
|---|---|
| public ConnectionSet() | |
| add | back to summary |
|---|---|
| public boolean add(Class<? extends Connection> aClass) Overrides java. Implements java. Doc from java. Adds the specified element to this set if it is not already present
(optional operation). More formally, adds the specified element
The stipulation above does not imply that sets must accept all
elements; sets may refuse to add any particular element, including
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).
| |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present
(optional operation). More formally, removes an element | |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |
| test | back to summary |
|---|---|
| public boolean test(Connection connection) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |