public interface IStringBuilderFactory
IStringBuilderFactory
interface is common to pooled and nonpooled implementations
invoked from StringBuilderFactory.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
acquire()
Acquire an instance of StringBuilder.
|
java.lang.StringBuilder |
acquire(int requested)
For compatibility with 7.1 StringBuilderFactory.
|
java.lang.String |
exchangeForString(java.lang.StringBuilder stringBuilder)
Return the StringBuilder instance back to the pool (if using pooling) and return its string value.
|
java.lang.String |
exchangeForString(java.lang.StringBuilder stringBuilder,
boolean report)
For compatibility with 7.1 StringBuilderFactory
Return the StringBuilder instance back to the pool (if using pooling) and return its string value and log nonstandard builders.
|
java.lang.String |
getReport()
Output statistics.
|
com.pega.pegarules.priv.management.StringBuilderFactoryReport |
getReportDTO()
Output statistics.
|
void |
release(java.lang.StringBuilder stringBuilder)
Return the StringBuilder instance back to the pool (if using pooling).
|
void |
release(java.lang.StringBuilder stringBuilder,
boolean report)
For compatibility with 7.1 StringBuilderFactory.
|
void |
setDefaultArraySize(int size)
Set the size of a new StringBuilder instance.
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
void setDefaultArraySize(int size)
size
- java.lang.StringBuilder acquire()
java.lang.StringBuilder acquire(int requested)
requested
- Requested sizevoid release(java.lang.StringBuilder stringBuilder)
stringBuilder
- void release(java.lang.StringBuilder stringBuilder, boolean report)
stringBuilder
- report
- java.lang.String exchangeForString(java.lang.StringBuilder stringBuilder)
stringBuilder
- java.lang.String exchangeForString(java.lang.StringBuilder stringBuilder, boolean report)
stringBuilder
- report
- java.lang.String getReport()
com.pega.pegarules.priv.management.StringBuilderFactoryReport getReportDTO()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.