|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.flightrecorder.provider.Repository
public final class Repository
An in-memory storage repository.
Field Summary | |
---|---|
static int |
AUTO_GENERATE
|
Constructor Summary | |
---|---|
Repository(java.lang.String name)
|
|
Repository(java.lang.String name,
IEventFilter filter)
|
Method Summary | |
---|---|
void |
addBroken(IEvent event)
|
java.util.Iterator<IEvent> |
brokenIterator(ITimeRange range)
|
TrackGroup |
createGroup(java.lang.String name)
|
Producer |
createProducer(int identifier)
|
IView |
createView()
Returns a IView which can be sued to extract event from the
recording |
java.util.Collection<IEventType> |
getEventTypes()
|
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. |
void |
setTimeRange(ITimeRange range)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AUTO_GENERATE
Constructor Detail |
---|
public Repository(java.lang.String name, IEventFilter filter)
public Repository(java.lang.String name)
Method Detail |
---|
public java.util.Collection<IEventType> getEventTypes()
public java.util.Collection<IProducer> getProducers()
IRepository
getProducers
in interface IRepository
public ITimeRange getTimeRange()
IRepository
getTimeRange
in interface IRepository
public IView createView()
IRepository
IView
which can be sued to extract event from the
recording
createView
in interface IRepository
public IFeatures getFeatures()
IRepository
IFeatures
, which is a way to describe group events.
getFeatures
in interface IRepository
IFeatures
public Producer createProducer(int identifier)
public TrackGroup createGroup(java.lang.String name)
public void addBroken(IEvent event)
public java.util.Iterator<IEvent> brokenIterator(ITimeRange range)
public ITrackGroup getRootGroup()
IRepository
getRootGroup
in interface IRepository
public void setTimeRange(ITimeRange range)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |