rspec/rules/S4584/plsql/rule.adoc

29 lines
733 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
``++CREATE_TIMER++`` is generating network traffic each time the timer is fired. It's probably totally fine for a timer being executed every hour but generally, this is used to provide clocks components that are going to generate network traffic every second or more.
It is recommended by Oracle to examine timers and replace them with JavaBeans.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
BEGIN
timer := CREATE_TIMER('foo', 1000, REPEAR)
ENDl
----
2021-04-28 16:49:39 +02:00
== See
* https://docs.oracle.com/cd/A97335_02/apps.102/a86202/chap11.htm[11.3.4 Other Techniques to Improve Performance]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
endif::env-github,rspecator-view[]