...
- The cache improves the speed of a number of operations. This applies in particular to pipelined operations.
- Approx. increase in speed of 50% for single operations.
- Mulitplied increase in speed when using pipelined operations:
Get-JobChain /some_folder/some_job_chain | Get-Job | Get-Task | Stop-Task
- The pipelined operations force the JobScheduler Master to be accessed three times to retrieve the respective objects. Resolving objects by use of the cache improves speed tremendously.
- The cache is activated by default when using the
Get-Status
andShow-Status
cmdlets. Subsequent calls to these cmdlets update the cache. The cache is available for the following cmdlets:
- The
Get-Task
cmdlet by default does not make use of the cache. However, it can be used with the-UseCache
switch to enforce cache usage.
...
- If up-to-date information is required then it is preferable not to use the cache.
- Use of the cache can be deactivated with
- the
User-Master
cmdlet and the-NoCache
switch; - the
Get-Status
cmdlet and the-NoCache
switch.
- the
...