|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.mc.flightrecorder.spi.Provider
public abstract class Provider
Abstract base class for providers.
Used by the FlightRecording
class to get event data. By default
System out is used for printing progress.
Provider implementers should override createRepository()
and forward
the progress monitor or other configuration details to their implementation
of the IRepository
.
Constructor Summary | |
---|---|
Provider()
|
Method Summary | |
---|---|
abstract IRepository |
createRepository()
Create the IRepository for the provider. |
IEventFilter |
getFilter()
Returns the filter to use when creating the repository, null means no filtering should take place. |
IProgressMonitor |
getProgressMonitor()
|
void |
setFilter(IEventFilter filter)
Sets the filter to use when creating the repository. |
void |
setProgressMonitor(IProgressMonitor monitor)
Sets the progress monitor that should be used when constructing the IRepository |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Provider()
Method Detail |
---|
public final IProgressMonitor getProgressMonitor()
public final void setFilter(IEventFilter filter)
filter
- public final IEventFilter getFilter()
public final void setProgressMonitor(IProgressMonitor monitor)
IRepository
monitor
- a progress monitor.public abstract IRepository createRepository()
IRepository
for the provider.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |