Package org.apache.commons.pool2
Class BaseObject
java.lang.Object
org.apache.commons.pool2.BaseObject
- Direct Known Subclasses:
BaseGenericObjectPool
,BaseKeyedPooledObjectFactory
,BaseObjectPool
,BaseObjectPoolConfig
,BasePooledObjectFactory
A base class for common functionality.
- Since:
- 2.4.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
protected void
toStringAppendFields
(StringBuilder builder) Used by sub-classes to include the fields defined by the sub-class in thetoString()
output.
-
Constructor Details
-
BaseObject
public BaseObject()
-
-
Method Details
-
toString
-
toStringAppendFields
Used by sub-classes to include the fields defined by the sub-class in thetoString()
output.- Parameters:
builder
- Field names and values are appended to this object
-