| Modifier and Type | Field and Description |
|---|---|
| private static ObjectPool | m_stringBufPool
The global pool of string buffers. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized void | free(FastStringBuffer
Must be a non-null reference to a string buffer. sb)Return a string buffer back to the pool. |
| public static synchronized FastStringBuffer | Returns: A string buffer ready for use.Get the first free instance of a string buffer, or create one if there are no free instances. |
| m_stringBufPool | back to summary |
|---|---|
| private static ObjectPool m_stringBufPool The global pool of string buffers. | |
| StringBufferPool | back to summary |
|---|---|
| public StringBufferPool() | |
| free | back to summary |
|---|---|
| public static synchronized void free(FastStringBuffer sb) Return a string buffer back to the pool.
| |
| get | back to summary |
|---|---|
| public static synchronized FastStringBuffer get() Get the first free instance of a string buffer, or create one if there are no free instances.
| |