comparison src/org/dancres/blitz/arc/RecoverySummary.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.arc;
2
3 /**
4 When ArcCache is asked to recover an instance it returns an instance of
5 this class which reports the CacheBlockDescriptor of the instance and
6 whether or not the instance was present on disk
7 */
8 public class RecoverySummary {
9 private boolean wasOnDisk;
10 private CacheBlockDescriptor theCBD;
11
12 RecoverySummary(CacheBlockDescriptor aCBD, boolean onDisk) {
13 theCBD = aCBD;
14 wasOnDisk = onDisk;
15 }
16
17 public CacheBlockDescriptor getCBD() {
18 return theCBD;
19 }
20
21 public boolean wasOnDisk() {
22 return wasOnDisk;
23 }
24 }