org.apache.avalon.excalibur.profile
Class AbstractProfilePoint

java.lang.Object
  |
  +--org.apache.avalon.excalibur.profile.AbstractProfilePoint
All Implemented Interfaces:
ProfilePoint
Direct Known Subclasses:
EventsPerSampleProfilePoint, PeekValueProfilePoint, ValueProfilePoint

public abstract class AbstractProfilePoint
extends java.lang.Object
implements ProfilePoint

The ProfilPoint interface is to mark objects that can be sampled by a Profiler. The interface only has one sampling method to simplify the items that can be sampled.

Author:
Berin Loritsch

Constructor Summary
AbstractProfilePoint(java.lang.String name)
          Initializes the ProfilePoint with a name.
 
Method Summary
 java.lang.String getName()
          Get the ProfilePoint's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.avalon.excalibur.profile.ProfilePoint
getSample
 

Constructor Detail

AbstractProfilePoint

public AbstractProfilePoint(java.lang.String name)
Initializes the ProfilePoint with a name.
Method Detail

getName

public final java.lang.String getName()
Get the ProfilePoint's name. The Profiler uses this so that the heading for the sample data makes sense.
Specified by:
getName in interface ProfilePoint


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.