com.sun.jini.fiddler
Class FiddlerRenewResults
java.lang.Object
com.sun.jini.fiddler.FiddlerRenewResults
- All Implemented Interfaces:
- Serializable
class FiddlerRenewResults
- extends Object
- implements Serializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
durations
public long[] durations
- The granted duration for each lease. The length of this array
is the same as the length of the durations parameter to renewLeases,
and is in the same order. If a duration is -1, it indicates that
an exception was thrown for this lease.
exceptions
public Exception[] exceptions
- Exceptions thrown as a result of a renewal attempt in renewLeases.
The length of this array is the same as the number of -1 elements
in
durations
field of this class. Furthermore, the
exceptions in this array are in order.
FiddlerRenewResults
public FiddlerRenewResults(long[] durations,
Exception[] exceptions)
- Constructs a new instance of FiddlerRenewResults.
- Parameters:
durations
- array containing the durations granted as a result
of successful lease renewals.exceptions
- array containing the exceptions thrown as a result
of an unsuccessful lease renewal.
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.