public final class GridStringBuilderFactory extends Object
StringBuilder instances.| Modifier and Type | Method and Description |
|---|---|
static SB |
acquire()
Acquires a cached instance of
StringBuilder if
current thread is not using it yet. |
static void |
release(SB builder)
Releases
StringBuilder back to cache. |
public static SB acquire()
StringBuilder if
current thread is not using it yet. Otherwise a new
instance of string builder is returned.StringBuilder.public static void release(SB builder)
StringBuilder back to cache.builder - String builder to release.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019