public interface StableSetService
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) |
void |
unsubscribe(StableSetSubscriber subscriber)
Unsubscribe from the Stable Set service
|
void subscribe(StableSetSubscriber subscriber, java.util.List<ReadZone> zones, java.lang.Float stableSetTime, java.util.concurrent.TimeUnit stableSetTimeUnit, boolean unique)
subscriber
- The subscriberzones
- The readzones to monitorstableSetTime
- The time that must pass with no new tags having been seen
before the stable set will returnstableSetTimeUnit
- unique
- If true, the stable set will only pay attention to unique tags
and will not count (or return) duplicatesuseRegex
- Are you using regular expressions in the readezones you pass in?void subscribe(StableSetSubscriber subscriber, java.util.List<ReadZone> zones, java.lang.Float stableSetTime, java.util.concurrent.TimeUnit stableSetTimeUnit, boolean unique, boolean useRegex)
void unsubscribe(StableSetSubscriber subscriber)
subscriber
-