|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.service.InsertIntoLatchFactory
public class InsertIntoLatchFactory
Class to hold a current latch per statement that uses an insert-into stream (per statement and insert-into stream relationship).
Constructor Summary | |
---|---|
InsertIntoLatchFactory(java.lang.String name,
long msecWait,
ConfigurationEngineDefaults.Threading.Locking locking,
TimeSourceService timeSourceService)
Ctor. |
Method Summary | |
---|---|
java.lang.String |
getName()
|
TimeSourceService |
getTimeSourceService()
|
java.lang.Object |
newLatch(EventBean payload)
Returns a new latch. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InsertIntoLatchFactory(java.lang.String name, long msecWait, ConfigurationEngineDefaults.Threading.Locking locking, TimeSourceService timeSourceService)
name
- the factory namemsecWait
- the number of milliseconds latches will await maximuallylocking
- the blocking strategy to employtimeSourceService
- time source providerMethod Detail |
---|
public java.lang.Object newLatch(EventBean payload)
Need not be synchronized as there is one per statement and execution is during statement lock.
payload
- is the object returned by the await.
public TimeSourceService getTimeSourceService()
public java.lang.String getName()
|
© 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 |