public class InteractiveMemoryStatistic extends Object
InteractiveMemoryStatistic
represents a point in time snapshot of the current memory usage for the
Interactive integration the client is currently connected to.Constructor and Description |
---|
InteractiveMemoryStatistic(int usedBytes,
int totalBytes,
Collection<InteractiveResourceMemoryStatistic> resources)
Initializes a new
InteractiveMemoryStatistic . |
Modifier and Type | Method and Description |
---|---|
Set<InteractiveResourceMemoryStatistic> |
getResourceMemoryStats()
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.
|
public InteractiveMemoryStatistic(int usedBytes, int totalBytes, Collection<InteractiveResourceMemoryStatistic> resources)
InteractiveMemoryStatistic
.usedBytes
- Number of bytes used by the Interactive integrationtotalBytes
- Total number of bytes for the Interactive integrationresources
- A Collection
of InteractiveResourceMemoryStatistics
public int getUsedBytes()
public int getTotalBytes()
public Set<InteractiveResourceMemoryStatistic> getResourceMemoryStats()
Set
of InteractiveResourceMemoryStatistics
.Set
of InteractiveResourceMemoryStatistics
Copyright © 2018. All rights reserved.