public class UniqueReadZoneMonitorEsperFactory extends java.lang.Object implements RifidiAppEsperFactory
Constructor and Description |
---|
UniqueReadZoneMonitorEsperFactory(java.util.List<ReadZone> readzones,
java.lang.Integer windowID,
java.lang.Float departureWaitTime,
java.util.concurrent.TimeUnit timeUnit,
boolean uniquereader,
boolean uniqueantenna)
Constructor for this factory
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createQuery()
This method should return a select statement that can be hooked up to a
StatementAwareUpdateListener
|
java.util.List<java.lang.String> |
createStatements()
Use this method to create the necessary statements.
|
public UniqueReadZoneMonitorEsperFactory(java.util.List<ReadZone> readzones, java.lang.Integer windowID, java.lang.Float departureWaitTime, java.util.concurrent.TimeUnit timeUnit, boolean uniquereader, boolean uniqueantenna)
readzones
- The set of read zones to monitorwindowID
- A unique integer should be given in order to make all window
names uniquedepartureWaitTime
- The amount of time to wait before deciding a tag has departed.timeUnit
- the timeUnit used for the departure time.uniquereader
- If this value is set to true, a new arrival event will be
generated for each reader within the given readzones that a
tag shows up on. For instance, suppose the subscriber is
monitoring readers LLRP_1 and LLRP_2. If a tag is already
visible on LLRP_1, and it suddenly becomes visible on LLRP_2,
a new arrival event will be triggered. If the value is set to
false, no arrival event will be triggereduniqueantenna
- If this value is set to true, a new unique antennapublic java.lang.String createQuery()
RifidiAppEsperFactory
createQuery
in interface RifidiAppEsperFactory
public java.util.List<java.lang.String> createStatements()
RifidiAppEsperFactory
createStatements
in interface RifidiAppEsperFactory