home
wiki
classes/clusters list
class information
+
Point of view
JOB
ANY
LOOP_ITEM
JOB
INTERNALS_HANDLER
All features
class SIMPLE_BACKGROUND_JOB
Summary
top
Describe job to be executed in the background, when there nothing more important to do. Such job is ready to run at any time.
Direct parents
inherit list:
BACKGROUND_JOB
Overview
top
creation features
set_work
(t:
FUNCTION
[
TUPLE
,
BOOLEAN
], tr:
PROCEDURE
[
TUPLE
], prio:
INTEGER_32
)
t has to return True while continue
exported features
set_work
(t:
FUNCTION
[
TUPLE
,
BOOLEAN
], tr:
PROCEDURE
[
TUPLE
], prio:
INTEGER_32
)
t has to return True while continue
priority
:
INTEGER_32
Never change priority after job inserted in loop_item.
set_work
(t:
FUNCTION
[
TUPLE
,
BOOLEAN
], tr:
PROCEDURE
[
TUPLE
], prio:
INTEGER_32
)
effective procedure
top
t has to return True while continue
require
t /= Void
ensure
priority
= prio
priority
:
INTEGER_32
writable attribute
top
Never change priority after job inserted in loop_item.
Priority should only be set at creation time.