|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectstreamcruncher.api.InputSession
public class InputSession
Each Input Event Stream can have 1 instance, which should be used to notify the Kernel of Events that have been added and committed into the underlying Database. The Kernel does not check if there already is another instance of this Class for the same Input Event Stream. So, the user must take care to create only one instance per Stream. The instances are not Thread-safe. The session can be started and closed and re-started and so on any number of times.
| Method Summary | |
|---|---|
void |
close()
|
java.lang.String |
getName()
|
void |
start()
|
void |
submitEvent(java.lang.Object[] event)
Note: This operation works by assuming that there will be only one Thread invoking this method at a time. |
void |
submitEvents(java.lang.Object[][] events)
Note: This operation works by assuming that there will be only one Thread invoking this method at a time. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getName()
public void start()
throws StreamCruncherException
StreamCruncherExceptionpublic void submitEvent(java.lang.Object[] event)
event - The Event-Id column must be non-null and unique.public void submitEvents(java.lang.Object[][] events)
events - The Event-Id column must be non-null and unique.
public void close()
throws StreamCruncherException
StreamCruncherException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||