You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/08/16 16:22:11 UTC

[GitHub] StefanRRichter commented on a change in pull request #6504: [FLINK-10068][docs] Add documentation for RocksDB-based timers and st…

StefanRRichter commented on a change in pull request #6504: [FLINK-10068][docs] Add documentation for RocksDB-based timers and st…
URL: https://github.com/apache/flink/pull/6504#discussion_r210659135
 
 

 ##########
 File path: docs/dev/stream/operators/process_function.md
 ##########
 @@ -333,3 +332,43 @@ ctx.timerService.registerEventTimeTimer(coalescedTime)
 {% endhighlight %}
 </div>
 </div>
+
+Timers can also be stopped and removed as follows:
+
+Stopping a processing-time timer:
+
+<div class="codetabs" markdown="1">
+<div data-lang="java" markdown="1">
+{% highlight java %}
+long timestampOfTimerToStop = ...
+ctx.timerService().deleteProcessingTimeTimer(timestampOfTimerToStop);
 
 Review comment:
   No, the performance is good now.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services