comparison src/org/dancres/blitz/remote/LeaseResults.java @ 0:3dc0c5604566

Initial checkin of blitz 2.0 fcs - no installer yet.
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 21 Mar 2009 11:00:06 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3dc0c5604566
1 package org.dancres.blitz.remote;
2
3 /**
4 <p>Used to convey the results of a renew/cancelAll method invocation.</p>
5
6 <p>Should consist of two arrays - one contains longs - for renew, if -1
7 failure else it's a new duration which should be added to local system
8 time millis and put in the lease. The other array contains exceptions
9 for those with a -1. In the case of cancel, only the exception array
10 is populated and the entries are null indicating successful cancel or
11 an exception indicating a problem.</p>
12 */
13 public class LeaseResults implements java.io.Serializable {
14 long[] theNewDurations;
15 Exception[] theFailures;
16
17 LeaseResults(long[] aNewDurations, Exception[] aFails) {
18 theNewDurations = aNewDurations;
19 theFailures = aFails;
20 }
21 }