public class FormatHolder extends ThreadLocalSoft<MessageFormat>
| Constructor and Description |
|---|
FormatHolder(String p) |
FormatHolder(String p,
ThreadLocal<SoftReference<MessageFormat>> threadLocal) |
| Modifier and Type | Method and Description |
|---|---|
int |
argumentLength()
get the length of the parameter array
|
@NotNull String |
getPattern() |
@NotNull MessageFormat |
initValue()
Init in a single thread, first time or anewValue() call
|
anewValue, close, usepublic FormatHolder(String p) throws ThreadLocalAttention
ThreadLocalAttentionpublic FormatHolder(String p, ThreadLocal<SoftReference<MessageFormat>> threadLocal) throws ThreadLocalAttention
ThreadLocalAttention@NotNull public @NotNull MessageFormat initValue()
ThreadLocalSoftinitValue in class ThreadLocalSoft<MessageFormat>@NotNull public @NotNull String getPattern()
public int argumentLength()
Copyright © 2024. All rights reserved.