|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.vaevent.ValueAddEventServiceImpl
public class ValueAddEventServiceImpl
Service for handling revision event types.
Each named window instance gets a dedicated revision processor.
Constructor Summary | |
---|---|
ValueAddEventServiceImpl()
Ctor. |
Method Summary | |
---|---|
void |
addRevisionEventType(String revisionEventTypeAlias,
ConfigurationRevisionEventType config,
EventAdapterService eventAdapterService)
Adds a new revision event types. |
void |
addVariantStream(String variantStreamname,
ConfigurationVariantStream variantStreamConfig,
EventAdapterService eventAdapterService)
Adds a new variant stream. |
EventType |
createRevisionType(String namedWindowName,
String alias,
StatementStopService statementStopService,
EventAdapterService eventAdapterService)
Upon named window creation, create a unique revision event type that this window processes. |
ValueAddEventProcessor |
getValueAddProcessor(String alias)
Gets a value-added event processor. |
EventType |
getValueAddUnderlyingType(String alias)
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 alias provided and return the revision event type if found, or null if not found. |
void |
init(Map<String,ConfigurationRevisionEventType> configRevision,
Map<String,ConfigurationVariantStream> configVariant,
EventAdapterService eventAdapterService)
Called at initialization time, verifies configurations provided. |
boolean |
isRevisionTypeAlias(String revisionTypeAlias)
Upon named window creation, check if the alias used is a revision event type alias. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueAddEventServiceImpl()
Method Detail |
---|
public void init(Map<String,ConfigurationRevisionEventType> configRevision, Map<String,ConfigurationVariantStream> configVariant, EventAdapterService eventAdapterService) throws ConfigurationException
ValueAddEventService
init
in interface ValueAddEventService
configRevision
- is the revision types to addconfigVariant
- is the variant streams to addeventAdapterService
- for obtaining event type information for each alias
ConfigurationException
public void addRevisionEventType(String revisionEventTypeAlias, ConfigurationRevisionEventType config, EventAdapterService eventAdapterService) throws ConfigurationException
ValueAddEventService
addRevisionEventType
in interface ValueAddEventService
revisionEventTypeAlias
- to addconfig
- the revision event type configurationeventAdapterService
- for obtaining event type information for each alias
ConfigurationException
public void addVariantStream(String variantStreamname, ConfigurationVariantStream variantStreamConfig, EventAdapterService eventAdapterService) throws ConfigurationException
ValueAddEventService
addVariantStream
in interface ValueAddEventService
variantStreamname
- the alias of the typevariantStreamConfig
- the configseventAdapterService
- for handling nested events
ConfigurationException
- if the configuration is invalidpublic EventType createRevisionType(String namedWindowName, String alias, StatementStopService statementStopService, EventAdapterService eventAdapterService)
ValueAddEventService
createRevisionType
in interface ValueAddEventService
namedWindowName
- name of windowalias
- alias to usestatementStopService
- for handling stopseventAdapterService
- for event type info
public ValueAddEventProcessor getValueAddProcessor(String alias)
ValueAddEventService
getValueAddProcessor
in interface ValueAddEventService
alias
- of the value-add events
public EventType getValueAddUnderlyingType(String alias)
ValueAddEventService
getValueAddUnderlyingType
in interface ValueAddEventService
alias
- to look up
public boolean isRevisionTypeAlias(String revisionTypeAlias)
ValueAddEventService
isRevisionTypeAlias
in interface ValueAddEventService
revisionTypeAlias
- to check
|
© 2007 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 |