com.gemstone.gemfire.cache
Class LowMemoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.cache.CacheRuntimeException
com.gemstone.gemfire.cache.ResourceException
com.gemstone.gemfire.cache.LowMemoryException
- All Implemented Interfaces:
- Serializable
public class LowMemoryException
- extends ResourceException
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:
- 6.0
- See Also:
ResourceManager.setCriticalHeapPercentage(float)
,
Region.put(Object, Object)
,
Serialized Form
LowMemoryException
public LowMemoryException()
- Creates a new instance of
LowMemoryException
.
LowMemoryException
public LowMemoryException(String msg,
Set<DistributedMember> criticalMembers)
- Constructs an instance of
LowMemoryException
with the specified detail message.
- Parameters:
msg
- the detail messagecriticalMembers
- the member(s) which are/were in a critical state
getCriticalMembers
public 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
Copyright © 1997-2012 VMware, Inc. All rights reserved.