Mercurial > hg > blitz_stable
comparison src/org/dancres/blitz/stats/TaskQueueStat.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 | 6f68e94c1fb8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.blitz.stats; | |
2 | |
3 /** | |
4 */ | |
5 public class TaskQueueStat implements Stat { | |
6 private long _id; | |
7 private String _queueName; | |
8 private int _size; | |
9 | |
10 public TaskQueueStat(long anId, String aQueueName, int aSize) { | |
11 _id = anId; | |
12 _queueName = aQueueName; | |
13 _size = aSize; | |
14 } | |
15 | |
16 public long getId() { | |
17 return _id; | |
18 } | |
19 | |
20 public String toString() { | |
21 return "Queue: " + _queueName + " size: " + _size; | |
22 } | |
23 } |