GigaSpaces XAP 10.0.1 API

com.sun.jini.landlord
Class LeasePeriodPolicy.Result

java.lang.Object
  extended by 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.


Field Summary
 long duration
          The duration.
 long expiration
          The expiration time.
 
Constructor Summary
LeasePeriodPolicy.Result(long expiration, long duration)
          Simple constructor to create a new Result object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expiration

public final long expiration
The expiration time.


duration

public final long duration
The duration.

Constructor Detail

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.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.