public class InteractiveResourceMemoryStatistic extends Object
InteractiveResourceMemoryStatistic
represents a point in time snapshot of the current memory usage for
a specific resource in the Interactive integration the client is currently connected to.Constructor and Description |
---|
InteractiveResourceMemoryStatistic(String id,
int ownBytes,
int cumulativeBytes,
Collection<InteractiveResourceMemoryStatistic> resources)
Initializes a new
InteractiveResourceMemoryStatistic . |
Modifier and Type | Method and Description |
---|---|
int |
getCumulativeBytes()
Returns the total number of bytes for the
InteractiveResource and all of the
InteractiveResources that belong to it. |
int |
getOwnBytes()
Returns the number of bytes used by the
InteractiveResource . |
String |
getResourceID()
Returns the identifier for the
InteractiveResource . |
Set<InteractiveResourceMemoryStatistic> |
getResourceMemoryStats()
Returns the
Set of InteractiveResourceMemoryStatistics that belong to the
InteractiveResource . |
public InteractiveResourceMemoryStatistic(String id, int ownBytes, int cumulativeBytes, Collection<InteractiveResourceMemoryStatistic> resources)
InteractiveResourceMemoryStatistic
.id
- Identifier for the InteractiveResource
ownBytes
- Number of bytes used by the InteractiveResource
cumulativeBytes
- Total number of bytes for the InteractiveResource
and all of the
InteractiveResources
that belong to itresources
- A Collection
of InteractiveResourceMemoryStatistics
that belong to the
InteractiveResource
public String getResourceID()
InteractiveResource
.InteractiveResource
public int getOwnBytes()
InteractiveResource
.InteractiveResource
public int getCumulativeBytes()
InteractiveResource
and all of the
InteractiveResources
that belong to it.InteractiveResource
and all of the
InteractiveResources
that belong to itpublic Set<InteractiveResourceMemoryStatistic> getResourceMemoryStats()
Set
of InteractiveResourceMemoryStatistics
that belong to the
InteractiveResource
.Set
of InteractiveResourceMemoryStatistics
that belong to the
InteractiveResource
Copyright © 2018. All rights reserved.