|
Oracle Fusion Middleware Java API Reference for Oracle Event Processing 12c Release 1 (12.1.3.0.0) E54267-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A event channel is a conduit for events.
Event channels support two types of modeling, streams and relations.
Streams are append-only, that is, events are always appended to the end of the stream. Relations support events that insert, delete, and update its content.
Events send to channels must have non-decreasing time-stamps.
Field Summary | |
static java.lang.String |
RECOVERY_PRECISION_BEST_EFFORT Precision of recovery to be used for archived channels. |
static java.lang.String |
RECOVERY_PRECISION_NO_DUPS Precision of recovery to be used for archived channels. |
Method Summary | |
java.lang.String |
getEventType() Only events of this event type are allowed to pass through this event channel. |
java.lang.String |
getId() Returns the event channel identity |
java.lang.Integer |
getPartitionOrderCapacity() The capacity (i.e.number of buckets) of partition used for partition-ordered sources (e.g. relation/stream). |
java.util.List |
getPrimaryKey() Returns primary key of relation, or an empty list for streams. |
java.lang.String |
getRecoveryPrecision() Returns the recovery precision for archived channel. |
java.lang.String |
getTimestampExpression() Returns expression used to calculate the application timestamp. |
boolean |
isApplicationTimestamped() Returns if channel is application timestamped, that is, application is responsible for assigning a timestamp to each event. |
boolean |
isArchived() Returns if channel should handle archived events. |
boolean |
isBatchEvents() Returns if channel is batching over timestamp |
boolean |
isRelation() Returns if event channel is carrying relations, instead of streams. |
boolean |
isSystemTimestamped() Returns if channel is system timestamped, that is, the system is responsible for assigning a timestamp to each event. |
boolean |
isTotalOrder() Returns if application time published is always strictly greater than the last value used. |
Methods inherited from interface com.bea.wlevs.ede.api.EventQueue |
getCurrentSize, getMaxSize, getMaxThreads, getOfferTimeout, isFailWhenRejected, setFailWhenRejected, setMaxSize, setMaxThreads, setOfferTimeout |
Methods inherited from interface com.bea.wlevs.ede.api.HeartbeatAware |
onHeartbeat |
Methods inherited from interface com.bea.wlevs.ede.api.BatchRelationSink |
onEvents |
Methods inherited from interface com.bea.wlevs.ede.api.BatchStreamSink |
onInsertEvents |
Methods inherited from interface com.bea.wlevs.ede.api.EventSender |
sendEvent |
Methods inherited from interface com.bea.wlevs.ede.api.BatchRelationSender |
sendEvents |
Methods inherited from interface com.bea.wlevs.ede.api.BatchStreamSender |
sendInsertEvents |
Methods inherited from interface com.bea.wlevs.ede.api.RelationSender |
sendDeleteEvent, sendUpdateEvent |
Methods inherited from interface com.bea.wlevs.ede.api.RelationSink |
onDeleteEvent, onUpdateEvent |
Field Detail |
public static final java.lang.String RECOVERY_PRECISION_BEST_EFFORT
best-effort
recovery entails that events may be lost, or you may get duplicate events while recovering an archived channel from failure.
public static final java.lang.String RECOVERY_PRECISION_NO_DUPS
no-dups
recovery entails that the system will attempt to remove duplicate events by comparing their output event time.
Method Detail |
public java.lang.String getId()
public java.lang.String getEventType()
public java.lang.String getTimestampExpression()
expression
- public boolean isRelation()
public java.util.List getPrimaryKey()
public boolean isTotalOrder()
public boolean isSystemTimestamped()
System.nanoTime()
.public boolean isApplicationTimestamped()
public boolean isBatchEvents()
public java.lang.Integer getPartitionOrderCapacity()
public boolean isArchived()
Archived channels are channels that replay their events while recovering from a failure of the system in an attempt to revive the state of a downstream processor as it was before the failure.
The archiving of the events should be realized by the upstream stage to this channel.
public java.lang.String getRecoveryPrecision()
By default, recovery precision is best-effort
. This means that events may be lost, and you may receive duplicates. If precision is set to no-dups
, then the timestamp of the output events are used to remove duplicates.
|
Copyright © 2007, 2014 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |