* @param zeroSizeAcceptable when an empty list is okay or expected.
* @return List<TaskHandle>
*/
private List<TaskHandle> leaseTasksByTag60Secs(String groupTag, int count,
boolean zeroSizeAcceptable) {
LeaseOptions options = LeaseOptions.Builder
.withTag(groupTag)
.countLimit(count) // Max lease count is 1000.
.leasePeriod(60, TimeUnit.SECONDS);
return leaseTasksByOptions(groupTag, count, zeroSizeAcceptable, options);