0.10.8-alpha
|
Interface implemented by processors that can publicly expose a token equivalent to their internal state. More...
Public Member Functions | |
Object | getState () throws UnsupportedOperationException |
Gets the token corresponding to the processor's internal state. More... | |
Interface implemented by processors that can publicly expose a token equivalent to their internal state.
This token can be an arbitrary object, including null
. However, it must follow this condition: if two processor instances π1 and π2 (of the same class) respectively return two state tokens s1 and s2 such that s1.equals(
s2) == true
, then for any sequence of inputs, π1 and π2 must generate the same output.
Definition at line 34 of file Stateful.java.
Object ca.uqac.lif.cep.Stateful.getState | ( | ) | throws UnsupportedOperationException |
Gets the token corresponding to the processor's internal state.
UnsupportedOperationException | Thrown if the internal state cannot be provided for some reason |
Implemented in ca.uqac.lif.cep.GroupProcessor, ca.uqac.lif.cep.tmf.AbstractSlice, ca.uqac.lif.cep.tmf.QueueSource, ca.uqac.lif.cep.tmf.Window, ca.uqac.lif.cep.functions.ApplyFunction, ca.uqac.lif.cep.functions.Cumulate, ca.uqac.lif.cep.tmf.Pump, ca.uqac.lif.cep.tmf.CountDecimate, ca.uqac.lif.cep.tmf.Trim, ca.uqac.lif.cep.tmf.Freeze, ca.uqac.lif.cep.tmf.SimpleFilter, ca.uqac.lif.cep.functions.TurnInto, ca.uqac.lif.cep.tmf.Insert, ca.uqac.lif.cep.tmf.Passthrough, ca.uqac.lif.cep.util.Sets.SetUpdateProcessor, ca.uqac.lif.cep.tmf.Filter, ca.uqac.lif.cep.tmf.Stutter, and ca.uqac.lif.cep.tmf.Prefix.