public static class Landlord.RenewResults extends Landlord.RenewResults
AtomicSerial
Modifier and Type | Field and Description |
---|---|
Exception[] |
denied
The
i th -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) |
noneDenied
public 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
.denied
public Exception[] denied
i
th -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.RenewResults
public Exception getDenied(int i)
getDenied
in class Landlord.RenewResults
Copyright © 2016–2018. All rights reserved.