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, setRequestID
public 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 InteractiveResourceMemoryStatistics
public int getUsedBytes()
public int getTotalBytes()
public Set<InteractiveResourceMemoryStatistic> getResourceMemoryStatistics()
Set
of InteractiveResourceMemoryStatistics
.Set
of InteractiveResourceMemoryStatistics
Copyright © 2018. All rights reserved.