setMaxAttempts

fun setMaxAttempts(count: Int): B(source)

Gives up on the job once it has been started count times.

Throws

when count is not positive.