|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualDataWindowFactory
Factory for VirtualDataWindow
.
Register an implementation of this interface with the engine before use: configuration.addPlugInVirtualDataWindow("test", "vdw", SupportVirtualDWFactory.class.getName());
Method Summary | |
---|---|
VirtualDataWindow |
create(VirtualDataWindowContext context)
Invoked for each context partition (or once if not using contexts), return a virtual data window to handle the specific event type, named window or paramaters as provided in the context. |
void |
destroyAllContextPartitions()
Invoked to indicate the named window is destroyed. |
java.util.Set<java.lang.String> |
getUniqueKeyPropertyNames()
Return the names of properties that taken together (combined, composed, not individually) are the unique keys of a row, return null if there are no unique keys that can be identified. |
void |
initialize(VirtualDataWindowFactoryContext factoryContext)
Invoked once after instantiation of the factory, exactly once per named window. |
Method Detail |
---|
void initialize(VirtualDataWindowFactoryContext factoryContext)
factoryContext
- factory context provides contextual information such as event type, named window name and parameters.VirtualDataWindow create(VirtualDataWindowContext context)
This method is invoked for each named window instance after the initialize method. If using context partitions, the method is invoked once per context partition per named window.
context
- provides contextual information such as event type, named window name and parameters
and including context partition information
void destroyAllContextPartitions()
This method is invoked once per named window (and not once per context partition).
For reference, the VirtualDataWindow destroy method is called once per context partition, before this method is invoked.
java.util.Set<java.lang.String> getUniqueKeyPropertyNames()
|
© 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 |