JobMonitor
Used for monitoring the job queue
Constructor Summary
Public Constructor | ||
public |
constructor(api: Maps4News, maxRows: number, longPoll: boolean) JobMonitor constructor |
Member Summary
Public Members | ||
public get |
Get api instance |
|
public get |
data: Array<JobMonitorRow>: * Contains the current JobMonitor data |
|
public set |
filterStatus(value: string) Set the filter for the job monitor |
|
public get |
filterStatus: string: * get the filter for the job monitor |
|
public set |
|
|
public get |
filterTags: * |
|
public set |
hideInternal(value: boolean) If internal users should be hidden. |
|
public get |
hideInternal: boolean: * If internal users should be hidden in the data |
|
public get |
lastUpdate: Date: * Returns the time the ::update method was called for the last time. |
|
public get |
Get if long polling should be used |
|
public set |
Set if long polling should be used |
|
public get |
Maximum number of rows to store |
|
public set |
Set the maximum number of rows to store. |
|
public get |
realMaxRows: * Used to get internal reference max rows |
|
public get |
If the JobMonitor is waiting for data. |
Method Summary
Public Methods | ||
public |
Update maxRows and run update() |
|
public |
Update the job list |
Public Constructors
Public Members
public set filterTags source
public get filterTags: * source
public set hideInternal(value: boolean) source
If internal users should be hidden. Updating this value won't take effect until the JobMonitor#update method has been called.
public get lastUpdate: Date: * source
Returns the time the ::update method was called for the last time.
Throw:
public set maxRows(value: number) source
Set the maximum number of rows to store. Updating this value won't take effect until the JobMonitor#update method has been called.