com.jrockit.mc.flightrecorder.spi
Interface IValues

All Superinterfaces:
java.lang.Iterable
All Known Implementing Classes:
Values

public interface IValues
extends java.lang.Iterable

Interface for accessing values belong to the events in a view.

Author:
Erik Gahlin

Method Summary
 java.util.Collection<java.lang.String> getAttributes()
          Returns the attributes
 java.util.Collection<FieldType> getFieldTypes()
          Returns the supported FieldTypes
 void setAttribute(java.util.Collection<java.lang.String> attributes)
          Sets the attribute values that should be extracted.
 void setFieldTypes(java.util.Collection<FieldType> fieldTypes)
          Sets the supported FieldTypes
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

setAttribute

void setAttribute(java.util.Collection<java.lang.String> attributes)
Sets the attribute values that should be extracted. E.g the attribute value "(endTime)" will return the end time for all events for the view, but "/java/socket_read#(endTime)" will only return the end time of the the Socket Read event

Parameters:
attributes -

getAttributes

java.util.Collection<java.lang.String> getAttributes()
Returns the attributes

Returns:
the attributes

setFieldTypes

void setFieldTypes(java.util.Collection<FieldType> fieldTypes)
Sets the supported FieldTypes

Parameters:
fieldTypes -

getFieldTypes

java.util.Collection<FieldType> getFieldTypes()
Returns the supported FieldTypes

Returns:
the field types


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