Package sdk
Class TokenGenerator
java.lang.Object
sdk.TokenGenerator
public class TokenGenerator extends Object implements Future<String>
-
Constructor Summary
Constructors Constructor Description TokenGenerator(ODSL odsl) -
Method Summary
-
Constructor Details
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<String>
-
isDone
public boolean isDone() -
get
- Specified by:
getin interfaceFuture<String>- Throws:
InterruptedExceptionExecutionException
-
get
public String get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException- Specified by:
getin interfaceFuture<String>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-