Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/stats/MissedOpsStat.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.stats; | |
2 | |
3 public class MissedOpsStat implements Stat { | |
4 private long theReadMiss; | |
5 private long theTakeMiss; | |
6 private long theId; | |
7 | |
8 public MissedOpsStat(long anId, long aReadMiss, long aTakeMiss) { | |
9 theId = anId; | |
10 theReadMiss = aReadMiss; | |
11 theTakeMiss = aTakeMiss; | |
12 } | |
13 | |
14 public long getId() { | |
15 return theId; | |
16 } | |
17 | |
18 public long getMissedReads() { | |
19 return theReadMiss; | |
20 } | |
21 | |
22 public long getMissedTakes() { | |
23 return theTakeMiss; | |
24 } | |
25 | |
26 public String toString() { | |
27 return "Missed reads: " + theReadMiss + ", takes: " + theTakeMiss; | |
28 } | |
29 } |