|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueAddEventService
Service associating handling vaue-added event types, such a revision event types and variant stream event types.
Associates named windows and revision event types.
Method Summary | |
---|---|
void |
addRevisionEventType(java.lang.String name,
ConfigurationRevisionEventType config,
EventAdapterService eventAdapterService)
Adds a new revision event types. |
void |
addVariantStream(java.lang.String variantEventTypeName,
ConfigurationVariantStream variantStreamConfig,
EventAdapterService eventAdapterService,
EventTypeIdGenerator eventTypeIdGenerator)
Adds a new variant stream. |
EventType |
createRevisionType(java.lang.String namedWindowName,
java.lang.String typeName,
StatementStopService statementStopService,
EventAdapterService eventAdapterService,
EventTypeIdGenerator eventTypeIdGenerator)
Upon named window creation, create a unique revision event type that this window processes. |
EventType[] |
getValueAddedTypes()
Returns all event types representing value-add event types. |
ValueAddEventProcessor |
getValueAddProcessor(java.lang.String name)
Gets a value-added event processor. |
EventType |
getValueAddUnderlyingType(java.lang.String name)
Upon named window creation, and during resolution of type specified as part of a named window create statement, returns looks up the revision event type name provided and return the revision event type if found, or null if not found. |
void |
init(java.util.Map<java.lang.String,ConfigurationRevisionEventType> revisionTypes,
java.util.Map<java.lang.String,ConfigurationVariantStream> variantStreams,
EventAdapterService eventAdapterService,
EventTypeIdGenerator eventTypeIdGenerator)
Called at initialization time, verifies configurations provided. |
boolean |
isRevisionTypeName(java.lang.String name)
Upon named window creation, check if the name used is a revision event type name. |
Method Detail |
---|
void init(java.util.Map<java.lang.String,ConfigurationRevisionEventType> revisionTypes, java.util.Map<java.lang.String,ConfigurationVariantStream> variantStreams, EventAdapterService eventAdapterService, EventTypeIdGenerator eventTypeIdGenerator)
revisionTypes
- is the revision types to addvariantStreams
- is the variant streams to addeventAdapterService
- for obtaining event type information for each namevoid addRevisionEventType(java.lang.String name, ConfigurationRevisionEventType config, EventAdapterService eventAdapterService)
name
- to addconfig
- the revision event type configurationeventAdapterService
- for obtaining event type information for each namevoid addVariantStream(java.lang.String variantEventTypeName, ConfigurationVariantStream variantStreamConfig, EventAdapterService eventAdapterService, EventTypeIdGenerator eventTypeIdGenerator) throws ConfigurationException
variantEventTypeName
- the name of the typevariantStreamConfig
- the configseventAdapterService
- for handling nested events
ConfigurationException
- if the configuration is invalidEventType getValueAddUnderlyingType(java.lang.String name)
name
- to look up
EventType createRevisionType(java.lang.String namedWindowName, java.lang.String typeName, StatementStopService statementStopService, EventAdapterService eventAdapterService, EventTypeIdGenerator eventTypeIdGenerator)
namedWindowName
- name of windowtypeName
- name to usestatementStopService
- for handling stopseventAdapterService
- for event type info
boolean isRevisionTypeName(java.lang.String name)
name
- to check
ValueAddEventProcessor getValueAddProcessor(java.lang.String name)
name
- of the value-add events
EventType[] getValueAddedTypes()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |