public static class Landlord.RenewResults extends Object implements Serializable
Landlord.renewAll
method.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)
Create a
RenewResults object setting the field
granted to the passed value, and denied
to null . |
RenewResults(long[] granted,
Exception[] denied)
Create a
RenewResults object setting the field
granted and denied fields to the
passed values. |
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)
RenewResults
object setting the field
granted
to the passed value, and denied
to null
.granted
- The value for the field granted
public RenewResults(long[] granted, Exception[] denied)
RenewResults
object setting the field
granted
and denied
fields to the
passed values.granted
- the value for the field granted
denied
- the value for the field denied
Copyright © GigaSpaces.