| Package | Description |
|---|---|
| pro.fessional.mirana.evil | |
| pro.fessional.mirana.text |
| Modifier and Type | Method and Description |
|---|---|
void |
TweakingContext.initThread(@NotNull ThreadLocal<Supplier<T>> threadLocal,
boolean tryToCleanOld)
init thread value
|
@NotNull ThreadLocal<T> |
ThreadLocalProxy.replaceBackend(@NotNull ThreadLocal<T> threadLocal,
boolean tryToCleanOld)
change the internal ThreadLocal impl, return the old value.
|
static void |
ThreadLocalProxy.tryClear(ThreadLocal<?> threadLocal)
try to clear the values in threadLocal by reflection.
|
| Constructor and Description |
|---|
ThreadLocalSoft(ThreadLocal<SoftReference<T>> threadLocal) |
| Constructor and Description |
|---|
BuilderHolder() |
BuilderHolder(int min,
int max)
init holder, cache the builder only if its less than the max size
|
BuilderHolder(int min,
int max,
ThreadLocal<SoftReference<StringBuilder>> threadLocal) |
FormatHolder(String p) |
FormatHolder(String p,
ThreadLocal<SoftReference<MessageFormat>> threadLocal) |
Copyright © 2023. All rights reserved.