Class TimerRegistration
java.lang.Object
org.apache.flink.streaming.api.operators.python.process.timer.TimerRegistration
Handles the interaction with the Python worker for registering and deleting timers.
-
Constructor Summary
ConstructorsConstructorDescriptionTimerRegistration(org.apache.flink.runtime.state.KeyedStateBackend<org.apache.flink.types.Row> keyedStateBackend, org.apache.flink.streaming.api.operators.InternalTimerService internalTimerService, org.apache.flink.streaming.api.operators.KeyContext keyContext, org.apache.flink.api.common.typeutils.TypeSerializer namespaceSerializer, org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> timerDataSerializer) -
Method Summary
-
Constructor Details
-
TimerRegistration
public TimerRegistration(org.apache.flink.runtime.state.KeyedStateBackend<org.apache.flink.types.Row> keyedStateBackend, org.apache.flink.streaming.api.operators.InternalTimerService internalTimerService, org.apache.flink.streaming.api.operators.KeyContext keyContext, org.apache.flink.api.common.typeutils.TypeSerializer namespaceSerializer, org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.types.Row> timerDataSerializer) throws Exception - Throws:
Exception
-
-
Method Details
-
setTimer
public void setTimer(byte[] serializedTimerData)
-