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 Fabric : ver. 1.7.0 Release Date : August 1 2016