JanosVM v1.0 API

edu.utah.janosvm.kit.management.team
Class MemoryMonitor.MemorySampler

java.lang.Object
  |
  +--edu.utah.janosvm.kit.management.team.ResourceSampler
        |
        +--edu.utah.janosvm.kit.management.team.MemoryMonitor.MemorySampler
Enclosing class:
MemoryMonitor

static final class MemoryMonitor.MemorySampler
extends ResourceSampler

A Memory ResourceSampler.


Field Summary
private  long last
          The last value sampled.
 
Fields inherited from class edu.utah.janosvm.kit.management.team.ResourceSampler
th
 
Constructor Summary
MemoryMonitor.MemorySampler()
          Construct an empty MemorySampler.
 
Method Summary
 void empty()
          Update the sampler's state for a dead/unreachable team.
 void output()
          Output the sampler state.
 java.lang.String toString()
           
 void update()
          Update the sampler's state.
 
Methods inherited from class edu.utah.janosvm.kit.management.team.ResourceSampler
getTeam, setTeam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0
 

Field Detail

last

private long last
The last value sampled.
Constructor Detail

MemoryMonitor.MemorySampler

public MemoryMonitor.MemorySampler()
Construct an empty MemorySampler.
Method Detail

update

public void update()
Description copied from class: ResourceSampler
Update the sampler's state. Note: This is called while in a visit, so nothing should be printed/manipulated/etc...
Overrides:
update in class ResourceSampler

empty

public void empty()
Description copied from class: ResourceSampler
Update the sampler's state for a dead/unreachable team.
Overrides:
empty in class ResourceSampler

output

public void output()
Description copied from class: ResourceSampler
Output the sampler state. Note: Unlike update, this is called within the monitor's team.
Overrides:
output in class ResourceSampler

toString

public java.lang.String toString()
Overrides:
toString in class ResourceSampler

JanosVM v1.0 API

This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003