public class LimitStableSetServiceImpl extends RifidiAppService<LimitStableSetSubscriber> implements LimitStableSetService
readZones
LAZY_START
Constructor and Description |
---|
LimitStableSetServiceImpl(java.lang.String group,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
subscribe(LimitStableSetSubscriber subscriber,
java.util.List<ReadZone> zones,
java.lang.Float stableSetTime,
java.util.concurrent.TimeUnit stableSetTimeUnit,
int limit)
Subscribe to the stable set service.
|
void |
subscribe(LimitStableSetSubscriber subscriber,
java.util.List<ReadZone> zones,
java.lang.Float stableSetTime,
java.util.concurrent.TimeUnit stableSetTimeUnit,
int limit,
boolean useRegex) |
unsubscribe
compareTo, equals, getGroup, getName, getState, hashCode, initialize, lazyStart, setAppProperties, setBundleContext, setEsperService, start, stop, toString
unsubscribe
public LimitStableSetServiceImpl(java.lang.String group, java.lang.String name)
group
- name
- public void subscribe(LimitStableSetSubscriber subscriber, java.util.List<ReadZone> zones, java.lang.Float stableSetTime, java.util.concurrent.TimeUnit stableSetTimeUnit, int limit)
LimitStableSetService
subscribe
in interface LimitStableSetService
subscriber
- The subscriberzones
- The readzones to monitorstableSetTime
- The time that must pass with no new tags having been seen
before the stable set will returnlimit
- The limit of tags that are being looked for. If this limit is
hit before the stableSetTime is reached, it will return all
seen tags.public void subscribe(LimitStableSetSubscriber subscriber, java.util.List<ReadZone> zones, java.lang.Float stableSetTime, java.util.concurrent.TimeUnit stableSetTimeUnit, int limit, boolean useRegex)
subscribe
in interface LimitStableSetService