com.jrockit.mc.flightrecorder.spi
Interface IFeatureSet

All Known Implementing Classes:
FeatureSet

public interface IFeatureSet

Interface that allows events to grouped together by their characteristics. Events can be added and removed from the set.

Author:
Erik Gahlin

Method Summary
 void add(IEvent event)
          Adds an event to the feature set.
 void clear()
          Removes all the events from the IFeatureSet
 boolean contains(IEvent event)
          Checks if the event belongs to the IFeatureSet.
 java.lang.String getIdentifier()
          Returns a unique identifier for the set.
 void remove(IEvent event)
          Removes an event from the feature set.
 

Method Detail

add

void add(IEvent event)
Adds an event to the feature set.

Parameters:
event -

remove

void remove(IEvent event)
Removes an event from the feature set.

Parameters:
event -

contains

boolean contains(IEvent event)
Checks if the event belongs to the IFeatureSet.

Parameters:
event - the event to examine
Returns:
true if the event is in the set, false otherwise.

clear

void clear()
Removes all the events from the IFeatureSet


getIdentifier

java.lang.String getIdentifier()
Returns a unique identifier for the set.

Returns:
the identifier.


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