|
Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing 11g Release 1 (11.1.1.4.0) E14303-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Inner Class Summary | |
static class |
RecordPlaybackMBean.ConfigParameters |
static class |
RecordPlaybackMBean.RecordSessionParameters |
Field Summary | |
static java.lang.String |
MBEAN_TYPE |
Method Summary | |
void |
configurePlaybackFilter(long startTime, long endTime) Use this to specify the record time filter for events that are to be played back. |
void |
configurePlaybackStorage(java.lang.String datasetName, java.util.List eventTypes, java.lang.String providerName) Configures the store related parameters of the events that should be played back. |
void |
configureRecordStorage(java.lang.String datasetName, java.util.List eventTypes, java.lang.String providerName) Configures the storage parameters for recording events at this stage. |
java.util.Map |
getPlaybackConfiguration() Returns all the configuration values specified for playback in this stage. |
java.util.Map |
getRecordConfiguration() Returns all the configuration values specified for recording in this stage. |
java.util.List |
getRecordingSessionsList(java.lang.String sessionName, long startTimeSince) Returns all the recording sessions available in the server. |
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 |
schedulePlayback(long startTime, long endTime, float speed, boolean repeat) Schedules events to be played back to this stage at the specified time. |
void |
scheduleRecord(long startTime, long endTime) Configures a stage with the time range during which events from from the stage will be recorded. |
void |
setPlaybackConfiguration(java.util.Map config) Saves the playback configuration values specified. |
void |
setRecordConfiguration(java.util.Map config) Saves the record configuration values specified. |
void |
startPlayback() Starts playback on a stage that is already configured with the required playback parameters. |
void |
startPlayback(long startTime, long endTime, float speed, boolean repeat) Starts playback using the specified filter and speed. |
void |
startPlaybackUsingSession(java.lang.String sessionName, long recordStartTime, java.util.List eventTypes, float speed, boolean repeat) Starts playing back to this stage using events from the specified recording session. |
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 |
Field Detail |
public static final java.lang.String MBEAN_TYPE
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 boolean isRecording() throws javax.management.JMException
public void configureRecordStorage(java.lang.String datasetName, java.util.List eventTypes, java.lang.String providerName) throws javax.management.JMException
datasetName
- the dataset name to use when storing events from this stageeventTypes
- the type of events that must be recorded. Only events of these types will be recorded as they pass through the stage.providerName
- the event store provider to use store events. This must be a valid provider, configured in the server configuration file.public void scheduleRecord(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 java.util.Map getRecordConfiguration() throws javax.management.JMException
RecordPlaybackParameters
.public void setRecordConfiguration(java.util.Map config) throws javax.management.JMException
config
- Map of record configuration parameters. The format of the parameters must be the same as specified in getRecordConfiguation
.public void startPlayback() throws javax.management.JMException
If the stage is not already configured for playback, this operation will throw an exception.
public void startPlaybackUsingSession(java.lang.String sessionName, long recordStartTime, java.util.List eventTypes, float speed, boolean repeat) throws javax.management.JMException
sessionName
- name of the session whose events are to be played back. This along with the recordStartTime identifies the session.recordStartTime
- the time at which this session started recording. This along with the sessionName identifies the session.eventTypes
- if only certain event types that were recorded should be played back, specify those event types here. If all the event types should be played back, leave this null.speed
- the speed at which the events should be played back. A value of 1.0 will play back at the same speed that the events were received, 2.0 will play back at double the speed, 0.5 at half the speed and so on.repeat
- specifies whether playback should keep looping through the events after all the events are played back. True value will playback forever until it is stopped explicitly.public void startPlayback(long startTime, long endTime, float speed, boolean repeat) throws javax.management.JMException
If the stage is not already configured for playback, this operation will throw an exception.
startTime
- time in milliseconds, at which events must start playing back to this stage. Use -1 to specify no startTime.endTime
- time in milliseconds, at which events must stop playing back to this stage. Use -1 to specify no stopTime.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 void stopPlayback() throws javax.management.JMException
This method makes no changes to the persisted configurations for the stage.
public boolean isPlayingBack() throws javax.management.JMException
public void configurePlaybackStorage(java.lang.String datasetName, java.util.List eventTypes, java.lang.String providerName) throws javax.management.JMException
datasetName
- the dataset name of the events that should be played backeventTypes
- list with the type of events, as defined in the Event Type Repository, that should be played backproviderName
- the event store provider to use to get the events. This must be a valid provider, configured in the server configuration file.public void configurePlaybackFilter(long startTime, long endTime) 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.public void schedulePlayback(long startTime, long endTime, float speed, boolean repeat) throws javax.management.JMException
startTime
- time in milliseconds, at which events must start playing back to this stage. Use -1 to specify no startTime.endTime
- time in milliseconds, at which events must stop playing back to this stage. Use -1 to specify no stopTime.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 getPlaybackConfiguration() throws javax.management.JMException
RecordPlaybackParameters
.public void setPlaybackConfiguration(java.util.Map config) throws javax.management.JMException
config
- Map of record configuration parameters. The format of the parameters must be the same as specified in getPlaybackConfiguation
.public java.util.List getRecordingSessionsList(java.lang.String sessionName, long startTimeSince) throws javax.management.JMException
sessionName
- If a session name is specified, only sessions with this session name will be returned. Use null to return all sessions.startTimeSince
- Use this parameter if only sessions started since the specified time should be returned. Use -1 here to not filter on start time. This must be specified in milliseconds format.
|
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |