com.jrockit.mc.flightrecorder.spi
Interface IRepository

All Known Implementing Classes:
Repository

public interface IRepository

Interface that gives access to an event storage. A repository could be in memory, on disk or even in a database.

Author:
Erik Gahlin

Method Summary
 IView createView()
          Returns a IView which can be sued to extract event from the recording
 IFeatures getFeatures()
          Returns IFeatures, which is a way to describe group events.
 java.util.Collection<IProducer> getProducers()
          Return the producers in the repository.
 ITrackGroup getRootGroup()
          Returns the top node for groups in the repository.
 ITimeRange getTimeRange()
          Returns the time range the repository spans.
 

Method Detail

getProducers

java.util.Collection<IProducer> getProducers()
Return the producers in the repository.

Returns:
a collection of producers

getRootGroup

ITrackGroup getRootGroup()
Returns the top node for groups in the repository.

Returns:
the root group

getTimeRange

ITimeRange getTimeRange()
Returns the time range the repository spans.

Returns:
the range the repository spans

createView

IView createView()
Returns a IView which can be sued to extract event from the recording

Returns:
a view

getFeatures

IFeatures getFeatures()
Returns IFeatures, which is a way to describe group events.

Returns:
an IFeatures


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