public class StableSetServiceImpl extends RifidiAppService<StableSetSubscriber> implements StableSetService
readZones
LAZY_START
Constructor and Description |
---|
StableSetServiceImpl(java.lang.String group,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
subscribe(StableSetSubscriber subscriber,
java.util.List<ReadZone> zones,
java.lang.Float stableSetTime,
java.util.concurrent.TimeUnit stableSetTimeUnit,
boolean unique)
Subscribe to the stable set service
|
void |
subscribe(StableSetSubscriber subscriber,
java.util.List<ReadZone> zones,
java.lang.Float stableSetTime,
java.util.concurrent.TimeUnit stableSetTimeUnit,
boolean unique,
boolean useRegex) |
unsubscribe
compareTo, equals, getGroup, getName, getState, hashCode, initialize, lazyStart, setAppProperties, setBundleContext, setEsperService, start, stop, toString
unsubscribe
public StableSetServiceImpl(java.lang.String group, java.lang.String name)
group
- name
- public void subscribe(StableSetSubscriber subscriber, java.util.List<ReadZone> zones, java.lang.Float stableSetTime, java.util.concurrent.TimeUnit stableSetTimeUnit, boolean unique)
StableSetService
subscribe
in interface StableSetService
subscriber
- The subscriberzones
- The readzones to monitorstableSetTime
- The time that must pass with no new tags having been seen
before the stable set will returnunique
- If true, the stable set will only pay attention to unique tags
and will not count (or return) duplicatespublic void subscribe(StableSetSubscriber subscriber, java.util.List<ReadZone> zones, java.lang.Float stableSetTime, java.util.concurrent.TimeUnit stableSetTimeUnit, boolean unique, boolean useRegex)
subscribe
in interface StableSetService