public static class Landlord.RenewResults extends Landlord.RenewResults
AtomicSerial| Modifier and Type | Field and Description |
|---|---|
Exception[] |
denied
The
ith -1 in granted
was denied because of denied[i]. |
long[] |
granted
For each cookie passed to
renewAll,
granted[i] is the granted lease time, or -1 if the
renewal for that lease generated an exception. |
| Constructor and Description |
|---|
RenewResults(long[] granted) |
RenewResults(long[] granted,
Exception[] denied) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getDenied(int i) |
long |
getGranted(int i) |
noneDeniedpublic long[] granted
renewAll,
granted[i] is the granted lease time, or -1 if the
renewal for that lease generated an exception. If there was
an exception, the exception is held in denied.deniedpublic Exception[] denied
ith -1 in granted
was denied because of denied[i]. If nothing was
denied, this field is null.public RenewResults(long[] granted)
public RenewResults(long[] granted,
Exception[] denied)
public long getGranted(int i)
getGranted in class Landlord.RenewResultspublic Exception getDenied(int i)
getDenied in class Landlord.RenewResultsCopyright © 2016–2018. All rights reserved.