IndexRebuild extends Base
AbstractYes
Table of Contents
Constants
- ERR_ALREADY_RUNNING = 40
- ERR_INDEX_TYPES = 10
- ERR_NOT_RUNNING = 50
- ERR_NOT_STOPPED = 60
- ERR_ON_START_MERGE_AGENT_ACTIVE = 1010
- ERR_SCOPE = 20
- ERR_SUCCESS = 0
- ERR_TYPE_INDEX = 30
- STATUS_FINISHED = 70
- STATUS_INACTIVE = 10
- STATUS_PENDING_CONTINUE = 60
- STATUS_PENDING_START = 20
- STATUS_PENDING_STOP = 40
- STATUS_RUNNING = 30
- STATUS_STOPPED = 50
- STATUS_UNDEFINED = 0
Methods
- __construct() : mixed
- continue() : Result
- delete() : Result
- getEntityTypeId() : int
- getInstance() : mixed
- getStatusCode() : string
- isActive() : bool
- isReadyToStart() : bool
- run() : string
- start() : Result
- state() : Result
- stop() : Result
Constants
ERR_ALREADY_RUNNING
public
mixed
ERR_ALREADY_RUNNING
= 40
ERR_INDEX_TYPES
public
mixed
ERR_INDEX_TYPES
= 10
ERR_NOT_RUNNING
public
mixed
ERR_NOT_RUNNING
= 50
ERR_NOT_STOPPED
public
mixed
ERR_NOT_STOPPED
= 60
ERR_ON_START_MERGE_AGENT_ACTIVE
public
mixed
ERR_ON_START_MERGE_AGENT_ACTIVE
= 1010
ERR_SCOPE
public
mixed
ERR_SCOPE
= 20
ERR_SUCCESS
public
mixed
ERR_SUCCESS
= 0
ERR_TYPE_INDEX
public
mixed
ERR_TYPE_INDEX
= 30
STATUS_FINISHED
public
mixed
STATUS_FINISHED
= 70
STATUS_INACTIVE
public
mixed
STATUS_INACTIVE
= 10
STATUS_PENDING_CONTINUE
public
mixed
STATUS_PENDING_CONTINUE
= 60
STATUS_PENDING_START
public
mixed
STATUS_PENDING_START
= 20
STATUS_PENDING_STOP
public
mixed
STATUS_PENDING_STOP
= 40
STATUS_RUNNING
public
mixed
STATUS_RUNNING
= 30
STATUS_STOPPED
public
mixed
STATUS_STOPPED
= 50
STATUS_UNDEFINED
public
mixed
STATUS_UNDEFINED
= 0
Methods
__construct()
public
__construct(int $userId) : mixed
Parameters
- $userId : int
continue()
public
continue() : Result
Return values
Resultdelete()
public
delete() : Result
Return values
ResultgetEntityTypeId()
public
abstract getEntityTypeId() : int
Return values
intgetInstance()
public
static getInstance([int $userId = 0 ]) : mixed
Parameters
- $userId : int = 0
getStatusCode()
public
getStatusCode(int $id) : string
Parameters
- $id : int
Return values
stringisActive()
public
isActive() : bool
Return values
boolisReadyToStart()
public
isReadyToStart() : bool
Return values
boolrun()
public
static run(int $userId) : string
Parameters
- $userId : int
Return values
stringstart()
public
start(array<string|int, mixed> $types, string $scope[, array<string|int, mixed> $initialParams = [] ]) : Result
Parameters
- $types : array<string|int, mixed>
- $scope : string
- $initialParams : array<string|int, mixed> = []
Return values
Resultstate()
public
state() : Result
Return values
Resultstop()
public
stop() : Result