|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.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(String name,
long msecWait,
ConfigurationEngineDefaults.Threading.Locking locking,
TimeSourceService timeSourceService)
Ctor. |
Method Summary | |
---|---|
Object |
newLatch(Object 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(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 Object newLatch(Object 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.
|
© 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 |