|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.taskqueue.LeaseOptions.Builder
public static final class LeaseOptions.Builder
Provides static creation methods for LeaseOptions.
| Method Summary | |
|---|---|
static LeaseOptions |
withCountLimit(long countLimit)
Returns default LeaseOptions and calls
LeaseOptions.countLimit(long). |
static LeaseOptions |
withDeadlineInSeconds(java.lang.Double deadlineInSeconds)
Returns default LeaseOptions and calls
LeaseOptions.deadlineInSeconds(Double). |
static LeaseOptions |
withLeasePeriod(long lease,
java.util.concurrent.TimeUnit unit)
Returns default LeaseOptions and calls
LeaseOptions.leasePeriod(long, TimeUnit). |
static LeaseOptions |
withTag(byte[] tag)
Returns default LeaseOptions and calls
LeaseOptions.tag(byte[]). |
static LeaseOptions |
withTag(java.lang.String tag)
Returns default LeaseOptions and calls
LeaseOptions.tag(String). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LeaseOptions withLeasePeriod(long lease,
java.util.concurrent.TimeUnit unit)
LeaseOptions and calls
LeaseOptions.leasePeriod(long, TimeUnit).
public static LeaseOptions withCountLimit(long countLimit)
LeaseOptions and calls
LeaseOptions.countLimit(long).
public static LeaseOptions withDeadlineInSeconds(java.lang.Double deadlineInSeconds)
LeaseOptions and calls
LeaseOptions.deadlineInSeconds(Double).
public static LeaseOptions withTag(byte[] tag)
LeaseOptions and calls
LeaseOptions.tag(byte[]).
public static LeaseOptions withTag(java.lang.String tag)
LeaseOptions and calls
LeaseOptions.tag(String).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||