public static class ServicePoolManager.AllocationData extends Object
| Constructor and Description |
|---|
ServicePoolManager.AllocationData(int open,
boolean retry,
Object user)
Create a new allocation data.
|
| Modifier and Type | Method and Description |
|---|---|
IntermediateFuture |
getResult()
Get the result.
|
Object |
getUserData()
Get the user data.
|
boolean |
isRetry()
Test if the retry flag is set.
|
void |
taskFailed(Exception e)
A task has failed and is not retried.
|
void |
taskFinished(Object result)
Add an intermediate result.
|
public ServicePoolManager.AllocationData(int open,
boolean retry,
Object user)
public Object getUserData()
public IntermediateFuture getResult()
public void taskFinished(Object result)
public void taskFailed(Exception e)
public boolean isRetry()
Copyright © 2013. All Rights Reserved.