public class MemoryWarningEvent extends InteractiveCoreEvent
| Constructor and Description |
|---|
MemoryWarningEvent(int usedBytes,
int totalBytes,
Collection<InteractiveResourceMemoryStatistic> resourceMemoryStatistics)
Initializes a new
MemoryWarningEvent. |
| Modifier and Type | Method and Description |
|---|---|
Set<InteractiveResourceMemoryStatistic> |
getResourceMemoryStatistics()
Returns a
Set of InteractiveResourceMemoryStatistics. |
int |
getTotalBytes()
Returns the total number of bytes for the Interactive integration.
|
int |
getUsedBytes()
Returns the number of bytes used by the Interactive integration.
|
getRequestID, setRequestIDpublic MemoryWarningEvent(int usedBytes,
int totalBytes,
Collection<InteractiveResourceMemoryStatistic> resourceMemoryStatistics)
MemoryWarningEvent.usedBytes - Number of bytes used by the Interactive integrationtotalBytes - Total number of bytes for the Interactive integrationresourceMemoryStatistics - A Collection of InteractiveResourceMemoryStatisticspublic int getUsedBytes()
public int getTotalBytes()
public Set<InteractiveResourceMemoryStatistic> getResourceMemoryStatistics()
Set of InteractiveResourceMemoryStatistics.Set of InteractiveResourceMemoryStatisticsCopyright © 2018. All rights reserved.