Package org.apache.geode.cache
Class LowMemoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.cache.CacheRuntimeException
org.apache.geode.cache.ResourceException
org.apache.geode.cache.LowMemoryException
- All Implemented Interfaces:
Serializable
Indicates a low memory condition either on the local or a remote
Cache. The
ResourceManager monitors local tenured memory consumption and determines when operations
are rejected.- Since:
- GemFire 6.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofLowMemoryException.LowMemoryException(String msg, Set<DistributedMember> criticalMembers) Constructs an instance ofLowMemoryExceptionwith the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionGet a read-only set of members in a critical state at the time this exception was constructed.Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toStringMethods inherited from class org.apache.geode.GemFireException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
LowMemoryException
public LowMemoryException()Creates a new instance ofLowMemoryException. -
LowMemoryException
Constructs an instance ofLowMemoryExceptionwith the specified detail message.- Parameters:
msg- the detail messagecriticalMembers- the member(s) which are/were in a critical state
-
-
Method Details
-
getCriticalMembers
Get a read-only set of members in a critical state at the time this exception was constructed.- Returns:
- the critical members
-