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:
isCancelled
in interfaceFuture<String>
-
isDone
public boolean isDone() -
get
- Specified by:
get
in interfaceFuture<String>
- Throws:
InterruptedException
ExecutionException
-
get
public String get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException- Specified by:
get
in interfaceFuture<String>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-