public class DynamoDBUserAttributesFuture extends Object implements Future<UserAttributes>
UserAttributes with conversion from DynamoDB typesCopyright © Enremmeta LLC 2015. All Rights Reserved.
| Modifier and Type | Field and Description |
|---|---|
private Future<com.amazonaws.services.dynamodbv2.model.GetItemResult> |
f |
private boolean |
isReceived |
private long |
startTime |
private UserAttributes |
value |
| Constructor and Description |
|---|
DynamoDBUserAttributesFuture(Future<com.amazonaws.services.dynamodbv2.model.GetItemResult> f) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
UserAttributes |
get() |
UserAttributes |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
private Future<com.amazonaws.services.dynamodbv2.model.GetItemResult> f
private long startTime
private boolean isReceived
private UserAttributes value
public DynamoDBUserAttributesFuture(Future<com.amazonaws.services.dynamodbv2.model.GetItemResult> f)
public boolean cancel(boolean mayInterruptIfRunning)
cancel in interface Future<UserAttributes>public boolean isCancelled()
isCancelled in interface Future<UserAttributes>public boolean isDone()
isDone in interface Future<UserAttributes>public UserAttributes get() throws InterruptedException, ExecutionException
get in interface Future<UserAttributes>InterruptedExceptionExecutionExceptionpublic UserAttributes get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<UserAttributes>InterruptedExceptionExecutionExceptionTimeoutException