1 PACKAGE FND_OAM_DSCFG_COMPILER_PKG as
2 /* $Header: AFOAMDSCCOMPS.pls 120.2 2006/05/16 00:59:37 ilawler noship $ */
3
4 ---------------
5 -- Constants --
6 ---------------
7
8 ---------------------------------
9 -- Public Procedures/Functions --
10 ---------------------------------
11
12 -- This is the primary entrypoint for kicking off a compile or re-compile of a DSCFG configuration instance.
13 -- Invariants:
14 -- Should only be called after a configuration instance has been created or set.
15 -- Parameters:
16 -- None, config_instance_id pulled from INSTANCES_PKG state.
17 -- Return Statuses:
18 -- None, status written to ERRORS_FOUND_FLAG/MESSAGE of failed objects
19 PROCEDURE COMPILE_CONFIG_INSTANCE(x_run_id OUT NOCOPY NUMBER);
20
21 -- Getter for the default number of workers allowed in a bundle.
22 -- Invariants:
23 -- None, may be called with or without a config instance in context.
24 -- Parameters:
25 -- None
26 -- Returns:
27 -- Default number of workers allowed.
28 FUNCTION GET_DEFAULT_NUM_WORKERS
29 RETURN NUMBER;
30
31 -- Getter for the default batch size used by the AD splitting architecture to divide a large table.
32 -- Invariants:
33 -- None, may be called with or without a config instance in context.
34 -- Parameters:
35 -- None
36 -- Returns:
37 -- Default batch size in number of rows.
38 FUNCTION GET_DEFAULT_BATCH_SIZE
39 RETURN NUMBER;
40
41 -- Getter for the default interval (in seconds) between queries of parent state to check that
42 -- it's still valid.
43 -- Invariants:
44 -- None, may be called with or without a config instance in context.
45 -- Parameters:
46 -- None
47 -- Returns:
48 -- Default valid check interval for a bundle.
49 FUNCTION GET_DFLT_VALID_CHECK_INTERVAL
50 RETURN NUMBER;
51
52 -- Getter for the default minimum weight (currently in number of blocks) required for a unit to be
53 -- parallelized using the AD splitting architecture.
54 -- Invariants:
55 -- None, may be called with or without a config instance in context.
56 -- Parameters:
57 -- None
58 -- Returns:
59 -- Default minimum parallel weight for a bundle.
60 FUNCTION GET_DFLT_MIN_PARALLEL_WEIGHT
61 RETURN NUMBER;
62
63 END FND_OAM_DSCFG_COMPILER_PKG;