com.jrockit.mc.flightrecorder.spi
Interface ITrack

All Known Implementing Classes:
Track

public interface ITrack

A time-line where events could be place up on.

Author:
Erik Gahlin

Method Summary
 java.lang.Integer getId()
          Returns an unique identifier for the track.
 java.util.Collection<java.lang.String> getKeys()
          Returns a collection of the property keys available
 java.lang.String getName()
          A human readable name of the track
 java.lang.Object getProperty(java.lang.String key)
          Returns property value for the track
 ITimeRange getRange()
          Return the range the range spans.
 java.lang.String getSymbolName()
          Returns a symbolic name for the track.
 

Method Detail

getId

java.lang.Integer getId()
Returns an unique identifier for the track. This identifier can be used to identify the track.

Returns:
the track identifier.

getName

java.lang.String getName()
A human readable name of the track

Returns:
the name

getSymbolName

java.lang.String getSymbolName()
Returns a symbolic name for the track. You should not rely on that the symbol name is unique. See getId(). Valid character are those that make up a java identifier.

Returns:
the symbol name for the track
See Also:
Character.isJavaIdentifierPart(char), Character.isJavaIdentifierStart(char)

getRange

ITimeRange getRange()
Return the range the range spans.

Returns:
the name

getProperty

java.lang.Object getProperty(java.lang.String key)
Returns property value for the track

Parameters:
key - the key for the property
Returns:
the value or null if not available.

getKeys

java.util.Collection<java.lang.String> getKeys()
Returns a collection of the property keys available

Returns:
a collection of keys that can be used with getProperty(String)


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.