Skip navigation links
com.oracle.cep.cluster.ha.adapter.management
Interface BroadcastInboundAdapterMBean
- All Known Implementing Classes:
- BroadcastInboundAdapterMBeanImpl
- public interface BroadcastInboundAdapterMBean
- extends AdapterMBean
Method Summary |
int |
getBatchSize()
Get the batch size for timing messages broadcast to secondaries. |
long |
getHeartbeat()
Get the heartbeat interval. |
java.lang.String |
getHeartbeatUnits()
Get the units used for the heartbeat. |
void |
setBatchSize(int batchSize)
Set the batch size. |
void |
setHeartbeat(long heartbeat)
Set the heartbeat. |
void |
setHeartbeatUnits(java.lang.String heartbeatUnits)
Set the units used for the heartbeat. |
Methods inherited from interface com.bea.wlevs.management.configuration.StageMBean |
configurePlayback, configurePlaybackWithDuration, configureRecord, configureRecordWithDuration, getPlaybackConfiguration, getRecordConfiguration, getRecordPlayback, isPlayingBack, isRecording, startPlayback, startRecording, stopPlayback, stopRecording |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
MBEAN_TYPE
public static final java.lang.String MBEAN_TYPE
getHeartbeat
public long getHeartbeat()
- Get the heartbeat interval. The default value is 0 (no heartbeat).
setHeartbeat
public void setHeartbeat(long heartbeat)
throws javax.management.JMException
- Set the heartbeat.
getHeartbeatUnits
public java.lang.String getHeartbeatUnits()
- Get the units used for the heartbeat. The default units is "millis".
-
- Returns:
- heartbeat units, either "millis", "nanos", or "secs"
setHeartbeatUnits
public void setHeartbeatUnits(java.lang.String heartbeatUnits)
throws javax.management.JMException
- Set the units used for the heartbeat. If "events" is used, then the primary will send a trimming message every heartbeat events. If "millis" is used, then the primary will send a trimming message every heartbeat milliseconds.
-
- Parameters:
heartbeatUnits
- interval units, legal values are either "millis", "nanos", or "secs"
getBatchSize
public int getBatchSize()
- Get the batch size for timing messages broadcast to secondaries. The default value is 1 (no batching).
setBatchSize
public void setBatchSize(int batchSize)
throws javax.management.JMException
- Set the batch size.