public class LowMemoryException extends ResourceException
Cache
. The
ResourceManager
monitors local tenured memory consumption and determines when operations
are rejected.ResourceManager.setCriticalHeapPercentage(float)
,
Region.put(Object, Object)
,
Serialized FormConstructor and Description |
---|
LowMemoryException()
Creates a new instance of
LowMemoryException . |
LowMemoryException(String msg,
Set<DistributedMember> criticalMembers)
Constructs an instance of
LowMemoryException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
Set<DistributedMember> |
getCriticalMembers()
Get a read-only set of members in a critical state at the time this exception was constructed.
|
toString
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public LowMemoryException()
LowMemoryException
.public LowMemoryException(String msg, Set<DistributedMember> criticalMembers)
LowMemoryException
with the specified detail message.msg
- the detail messagecriticalMembers
- the member(s) which are/were in a critical statepublic Set<DistributedMember> getCriticalMembers()