lock.Job: Locks the job

Description Usage Arguments Value Author(s) See Also

Description

Locks the job. When a job is locked, no other Job objects can lock and run the same job code.

Usage

1
2
## S3 method for class 'Job'
lock(this, ...)

Arguments

...

Not used.

Value

Returns TRUE if job is locked afterwards, otherwise FALSE. If job does not exist or is already locked, an exception is thrown.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*isLocked() and *unlock(). For more information see Job.


R.batch documentation built on May 2, 2019, 4:58 p.m.