Gemfire JavaDocs_test
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:
java.io.Serializable
public class LowMemoryException extends ResourceException
Indicates a low memory condition either on the local or a remoteCache
. TheResourceManager
monitors local tenured memory consumption and determines when operations are rejected.- Since:
- GemFire 6.0
- See Also:
ResourceManager.setCriticalHeapPercentage(float)
,Region.put(Object, Object)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LowMemoryException()
Creates a new instance ofLowMemoryException
.LowMemoryException(java.lang.String msg, java.util.Set<DistributedMember> criticalMembers)
Constructs an instance ofLowMemoryException
with the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<DistributedMember>
getCriticalMembers()
Get 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
toString
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
LowMemoryException
public LowMemoryException()
Creates a new instance ofLowMemoryException
.
-
LowMemoryException
public LowMemoryException(java.lang.String msg, java.util.Set<DistributedMember> criticalMembers)
Constructs an instance ofLowMemoryException
with the specified detail message.- Parameters:
msg
- the detail messagecriticalMembers
- the member(s) which are/were in a critical state
-
-
Method Detail
-
getCriticalMembers
public java.util.Set<DistributedMember> getCriticalMembers()
Get a read-only set of members in a critical state at the time this exception was constructed.- Returns:
- the critical members
-
-