Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/stats/StatGenerator.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 /** | |
4 Registered with the StatsBoard and responsible for generating an instance | |
5 of an appropriate Stat for passing to a client asking for stats dump. | |
6 | |
7 @see org.dancres.blitz.stats.Stat | |
8 */ | |
9 public interface StatGenerator { | |
10 public static final long UNSET_ID = -1; | |
11 | |
12 /** | |
13 @return the id of the StatGenerator that produced the stat | |
14 AdministrableStat.UNSET_ID if the id has never been set | |
15 */ | |
16 public long getId(); | |
17 | |
18 public void setId(long anId); | |
19 | |
20 public Stat generate(); | |
21 } |