public class MessageCache
extends java.lang.Object
Messages associated with runtime threads.
On runtimes with managed thread pools, the cache uses Fabric3Thread to store the message; on other runtimes a thread local is used.| Modifier and Type | Method and Description |
|---|---|
static Message |
getAndResetMessage()
Resets and returns the Message for the current thread.
|
static Message |
getMessage()
Returns the Message for the current thread.
|
public static Message getMessage()
public static Message getAndResetMessage()