class LeaseRequestState extends Object
Constructor and Description |
---|
LeaseRequestState(Job onGranted,
Job onFailed,
long expiration,
LeaseSet requested) |
Modifier and Type | Method and Description |
---|---|
long |
getExpiration()
when the request for the lease set expires
|
LeaseSet |
getGranted()
created lease set from client - FIXME always null
|
boolean |
getIsSuccessful()
whether the request was successful in the time allotted
|
Job |
getOnFailed()
what to do if the lease set create fails / times out
|
Job |
getOnGranted()
what to do once the lease set is created
|
LeaseSet |
getRequested()
lease set that is being requested
|
void |
setGranted(LeaseSet ls)
FIXME unused - why?
|
void |
setIsSuccessful(boolean is) |
String |
toString() |
public LeaseSet getGranted()
public void setGranted(LeaseSet ls)
public LeaseSet getRequested()
public Job getOnGranted()
public Job getOnFailed()
public long getExpiration()
public boolean getIsSuccessful()
public void setIsSuccessful(boolean is)