SAP ABAP Class CL_ESH_FED_TASK_SCHEDULER (Task Scheduler Doing the Federation)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_FEDERATION (Package) Federation
⤷
⤷
Properties
| Class | CL_ESH_FED_TASK_SCHEDULER | |
| Short Description | Task Scheduler Doing the Federation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_FEDERATION | Federation |
| Created | 20080820 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ESH_FED_TASK_SCHEDULER has no interface implemented.
Friends
Class CL_ESH_FED_TASK_SCHEDULER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_IF_SEARCH_RESPONSES | Collected responses | 20080820 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | LT_T_TASK | 20080930 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Is asynchronous | 20081118 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | INT4 | Natural number | 20080930 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | INT4 | Last task number | 20080930 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | RZLLI_APCL | Logon group | 20090217 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | INT4 | ID of search run | 20090212 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TIMESTAMP | Search start | 20090212 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | ESH_E_FED_TIMEOUT | Timeout | 20081013 |
Methods
Events
Class CL_ESH_FED_TASK_SCHEDULER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LT_S_TASK | Private | See coding | 20080930 | BEGIN OF lt_s_task,
task_id TYPE esh_e_fed_task_id,
task TYPE REF TO cl_esh_fed_task,
redo TYPE abap_bool,
results_fetched TYPE abap_bool,
END OF lt_s_task
|
||
| 2 | LT_T_TASK | Private | See coding | 20080930 | lt_t_task TYPE SORTED TABLE OF lt_s_task WITH UNIQUE KEY task_id
|
Method Signatures
Method ADAPTER_IS_ASYNC_ABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ADAPTER | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20081113 | |||
| 2 | RV_ASYNC_ABLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081113 |
Method ADAPTER_IS_ASYNC_ABLE on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method ADD_TASK_FROM_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SCOPE_GROUP | Call by reference | Type reference (TYPE) | ESH_S_FED_CONNECTOR_GROUP | Group of Connectors with same template type and connectivity | 20080820 | |||
| 2 | IT_BULK_REQUESTS | Call by reference | Type reference (TYPE) | ESH_T_FED_BULK_REQUEST | Bulk Search Requests | 20091222 | |||
| 3 | IV_FOR_MERGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Search always from 1 for merging | 20081013 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Federated Search Exception | 20090212 |
Method ALL_NON_ASYNC_TASKS_FINISHED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_FINISHED | Value transfer | Type reference (TYPE) | BOOLE | Boolean variable | 20081209 |
Method ALL_NON_ASYNC_TASKS_FINISHED on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method ALL_TASKS_FINISHED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_FINISHED | Value transfer | Type reference (TYPE) | BOOLE | Boolean variable | 20080930 |
Method ALL_TASKS_FINISHED on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method APPEND_RESPONSES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_RESPONSES | Call by reference | Object reference (TYPE REF TO) | CL_ESH_IF_SEARCH_RESPONSES | Search Responses | 20080926 |
Method APPEND_RESPONSES on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_ESH_FED_TASK_SCHEDULER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090217 |
Method GET_NEXT_TASK_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TASK_ID | Value transfer | Type reference (TYPE) | ESH_E_FED_TASK_ID | Task Id | 20081013 |
Method GET_NEXT_TASK_ID on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method GET_NUMBER_OF_FINISHED_TASKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_NUMBER | Value transfer | Type reference (TYPE) | I | 20080930 |
Method GET_NUMBER_OF_FINISHED_TASKS on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method GET_NUMBER_OF_RUNNING_TASKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_NUMBER | Value transfer | Type reference (TYPE) | I | 20080930 |
Method GET_NUMBER_OF_RUNNING_TASKS on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method GET_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_RESPONSES | Value transfer | Object reference (TYPE REF TO) | CL_ESH_IF_SEARCH_RESPONSES | Search Responses | 20081209 | |||
| 2 | ET_CONNECTOR_STATUS | Call by reference | Type reference (TYPE) | ESH_T_FED_CONNECTOR_STATUS | Connector Status (Aynch. Search) | 20081209 | |||
| 3 | IV_NEW_RESPONSES_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090112 |
Method GET_RUN_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RUN_ID | Value transfer | Type reference (TYPE) | INT4 | Natural number | 20090212 |
Method GET_RUN_ID on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method GET_STATISTICS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_STATISTICS | Call by reference | Type reference (TYPE) | ESH_T_FED_SEARCH_STATISTICS | Federation Search Statistics | 20081125 |
Method GET_STATISTICS on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method HAS_NEW_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_HAS_NEW_RESULTS | Value transfer | Type reference (TYPE) | BOOLE | Boolean variable | 20080930 |
Method HAS_NEW_RESULTS on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method NEXT_RUN Signature
Method NEXT_RUN on class CL_ESH_FED_TASK_SCHEDULER has no parameter.
Method NEXT_RUN on class CL_ESH_FED_TASK_SCHEDULER has no exception.
Method RESET_TASKS Signature
Method RESET_TASKS on class CL_ESH_FED_TASK_SCHEDULER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090324 |
Method RUN_ASYNC Signature
Method RUN_ASYNC on class CL_ESH_FED_TASK_SCHEDULER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Search task execution error | 20080925 |
Method RUN_SYNC Signature
Method RUN_SYNC on class CL_ESH_FED_TASK_SCHEDULER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ESH Interface Exception | 20090112 |
Method SET_TIMEOUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TIMEOUT | Call by reference | Type reference (TYPE) | ESH_E_FED_TIMEOUT | Search Timeout (secs) | 20091222 |
Method SET_TIMEOUT on class CL_ESH_FED_TASK_SCHEDULER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 712 |