This project has retired. For details please refer to its
Attic page.
LeasePeriodPolicy.Result (Apache River v2.2.2 API Documentation)
-
- 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
Fields
Modifier and Type |
Field and Description |
long |
duration
The duration.
|
long |
expiration
The expiration time.
|
-
Constructor Summary
Constructors
Constructor and Description |
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
-
-
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.
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.