|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
configurePlayback(long startTime,
long endTime,
float speed,
boolean repeat)
Configures a stage with runtime control parameters like playback speed and record time of events to be played back. |
void |
configurePlaybackWithDuration(long startTime,
long duration,
float speed,
boolean repeat)
Configures a stage with runtime control parameters like playback speed and record time of events to be played back. |
void |
configureRecord(long startTime,
long endTime)
Configures a stage with the time range during which events from from the stage will be recorded. |
void |
configureRecordWithDuration(long startTime,
long duration)
Configures a stage with the time range during which events from from the stage will be recorded. |
java.util.Map |
getPlaybackConfiguration()
|
java.util.Map |
getRecordConfiguration()
|
boolean |
isPlayingBack()
Returns true if events are being played back to this stage. |
boolean |
isRecording()
Returns true if this stage is currently recording events flowing out of the stage. |
void |
startPlayback()
Starts playback on a stage that is already configured with the required playback parameters. |
void |
startRecording()
Starts recording on a stage that is already configured with the required record parameters. |
void |
stopPlayback()
Stops playback on a stage. |
void |
stopRecording()
Stops recording on a stage. |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getName,
getObjectName,
getType |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public void startRecording() throws javax.management.JMException
If the stage is not already configured for recording, this operation will throw an exception.
public void stopRecording() throws javax.management.JMException
This method makes no changes to the persisted record configurations for the stage.
public void startPlayback() throws javax.management.JMException
If the stage is not already configured for playback, this operation will throw an exception.
public void stopPlayback() throws javax.management.JMException
This method makes no changes to the persisted record configurations for the stage.
public void configureRecord(long startTime, long endTime) throws javax.management.JMException
startTime
- time in milliseconds, after which events from the stage will
be recorded. Use -1 to specify no start time.endTime
- time in milliseconds, before which events from the stage will
be recorded. Use -1 to specify no end time.public void configureRecordWithDuration(long startTime, long duration) throws javax.management.JMException
startTime
- time in milliseconds, after which events from the stage will
be recorded. Use -1 to specify no start time.duration
- duration time in milliseconds, before which events from the stage will
be recorded. Use -1 to specify no duration time.public void configurePlaybackWithDuration(long startTime, long duration, float speed, boolean repeat) throws javax.management.JMException
startTime
- the minimum record time metadata value, in milliseconds, for
the events to be played back. Use -1, if there should be no
minimum record time value.duration
- the duration time metadata value, in milliseconds, for
the events to be played back. Use -1, if there should be no
duration record time value.speed
- float indicating the speed at which the events should be
played back. Only positive values greater than 0 are allowed
here. A value of 1 will play the events back at the same rate
that they came in. A value lesser than 1 will play the events
at a rate that is 'speed' times slower. Similarly, value
greater than 1 will play the events at a rate that is 'speed'
times faster.repeat
- boolean indicating if playback should loop back to the first
event once all the events in the specified time range have
been played back. If this is true, events will be played back
from the first event and will continue looping back until
playback is disabled. If this is false, events satisfying the
range will be played back once and playback will stop.public boolean isRecording() throws javax.management.JMException
public boolean isPlayingBack() throws javax.management.JMException
public void configurePlayback(long startTime, long endTime, float speed, boolean repeat) throws javax.management.JMException
startTime
- the minimum record time metadata value, in milliseconds, for
the events to be played back. Use -1, if there should be no
minimum record time value.endTime
- the maximum record time metadata value, in milliseconds, for
the events to be played back. Use -1, if there should be no
maximum record time value.speed
- float indicating the speed at which the events should be
played back. Only positive values greater than 0 are allowed
here. A value of 1 will play the events back at the same rate
that they came in. A value lesser than 1 will play the events
at a rate that is 'speed' times slower. Similarly, value
greater than 1 will play the events at a rate that is 'speed'
times faster.repeat
- boolean indicating if playback should loop back to the first
event once all the events in the specified time range have
been played back. If this is true, events will be played back
from the first event and will continue looping back until
playback is disabled. If this is false, events satisfying the
range will be played back once and playback will stop.public java.util.Map getRecordConfiguration() throws javax.management.JMException
public java.util.Map getPlaybackConfiguration() throws javax.management.JMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |