| java.lang.Object | ||
| ↳ | com.mongodb.util.SimplePool<T> | |
| ↳ | com.mongodb.util.StringBuilderPool | |
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.mongodb.util.SimplePool
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Initializes a pool of a given number of StringBuilders, each of a certain size.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new string builder.
| |||||||||||
Checks that the given string builder is within the size limit.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.mongodb.util.SimplePool
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.management.DynamicMBean
| |||||||||||
Initializes a pool of a given number of StringBuilders, each of a certain size.
| maxToKeep | the number of string builders in the pool |
|---|---|
| maxSize | the size of each string builder |
Checks that the given string builder is within the size limit.
| buf | the builder to check |
|---|