R - the raw query type. A raw query is parsed to a constraint.C - the constraint type. A constraint is translated into a native query.Q - the native query typeI - the input typeS - the solution typepublic abstract class BasicStreamProcessor<R,C,Q,I,S> extends Object implements StreamProcessor<R,I,S>
StreamProcessor.IncompatibleQueryException, StreamProcessor.InvalidQueryExceptionINFINITE_TTL, NEVER_EXPIRE| Constructor and Description |
|---|
BasicStreamProcessor() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
renew(BasicSubscription<C,Q,S> subscription,
int ttl)
Refreshes a subscription which has expired or is about to expire
|
abstract void |
unregister(BasicSubscription<C,Q,S> subscription)
Frees up the resources occupied by the provided subscription and prevents it from matching future inputs
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInputs, addQuery, clear, setClockpublic abstract void unregister(BasicSubscription<C,Q,S> subscription)
subscription - a query subscription to deactivate and removepublic abstract boolean renew(BasicSubscription<C,Q,S> subscription, int ttl)
subscription - the subscription to renewttl - a new time-to-live for the subscription, in secondsCopyright © 2016. All Rights Reserved.