|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jini.lease.landlord.Landlord.RenewResults
Simple class that holds return values of
the Landlord.renewAll
method.
Landlord.renewAll(java.lang.Object[], long[])
, Serialized FormField Summary | |
java.lang.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 least generated an exception. |
Constructor Summary | |
Landlord.RenewResults(long[] granted)
Create a RenewResults object setting the field
granted to the passed value, and denied
to null . |
|
Landlord.RenewResults(long[] granted,
java.lang.Exception[] denied)
Create a RenewResults object setting the field
granted and denied fields to the
passed values. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public long[] granted
renewAll
,
granted[i]
is the granted lease time, or -1 if the
renewal for that least generated an exception. If there was
an exception, the exception is held in denied
.denied
public java.lang.Exception[] denied
i
th -1 in granted
was denied because of denied[i]
. If nothing was denied,
this field is null
.Constructor Detail |
public Landlord.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 Landlord.RenewResults(long[] granted, java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |