public class InsertIntoLatchFactory extends Object
Constructor and Description |
---|
InsertIntoLatchFactory(String name,
boolean stateless,
long msecWait,
Locking locking,
TimeSourceService timeSourceService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
TimeSourceService |
getTimeSourceService() |
Object |
newLatch(EventBean payload)
Returns a new latch.
|
public InsertIntoLatchFactory(String name, boolean stateless, long msecWait, Locking locking, TimeSourceService timeSourceService)
name
- the factory namemsecWait
- the number of milliseconds latches will await maximuallylocking
- the blocking strategy to employtimeSourceService
- time source providerstateless
- indicator whether statelesspublic 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 String getName()
Copyright © 2005–2018. All rights reserved.