public class MemoryShortageException extends ResourceCapacityExceededException
Constructor and Description |
---|
MemoryShortageException(String spaceName,
String containerName,
String hostName,
long memoryUsage,
long maxMemory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getContainerName() |
String |
getHostName() |
long |
getMaxMemory() |
long |
getMemoryUsage() |
String |
getSpaceName() |
String |
toString()
Return the exception message
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public MemoryShortageException(String spaceName, String containerName, String hostName, long memoryUsage, long maxMemory)
spaceName
- the name of the space that caused this exceptioncontainerName
- the name of the container that contains the space that caused this
exception.hostName
- the name of the machine that hosts the space that caused this exceptionmemoryUsage
- the amount of memory in usemaxMemory
- the maximum amount of memory that can be usedpublic String getSpaceName()
public String getContainerName()
public String getHostName()
public long getMemoryUsage()
public long getMaxMemory()
public String toString()
toString
in class Throwable
Throwable.getMessage()
Copyright © GigaSpaces.