com.sun.jini.landlord
Class LeasePeriodPolicy.Result
java.lang.Object
com.sun.jini.landlord.LeasePeriodPolicy.Result
- Enclosing interface:
- LeasePeriodPolicy
public static class LeasePeriodPolicy.Result
- extends Object
Simple class that holds a pair of times, the
new expiration and duration for a lease.
Constructor Summary |
LeasePeriodPolicy.Result(long expiration,
long duration)
Simple constructor to create a new Result
object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expiration
public final long expiration
- The expiration time.
duration
public final long duration
- The duration.
LeasePeriodPolicy.Result
public LeasePeriodPolicy.Result(long expiration,
long duration)
- Simple constructor to create a new
Result
object.
- Parameters:
expiration
- the value for the expiration
field.duration
- the value for the duration
field.
Copyright © GigaSpaces.