01: /**
02: * AnagramsMBean.java
03: *
04: * Created on Wed May 11 09:37:26 MEST 2005
05: */package com.toy.anagrams.mbeans;
06:
07: /**
08: * Interface AnagramsStatsMBean
09: * Anagrams Description
10: */
11: public interface AnagramsStatsMBean {
12: /**
13: * Get The time it tooks for a user to resolve the last anagram
14: */
15: public int getLastThinkingTime();
16:
17: /**
18: * Get The maximum time it tooks for a user to resolve an anagram
19: */
20: public int getMaxThinkingTime();
21:
22: /**
23: * Get The minimum time it tooks for a user to resolve an anagram
24: */
25: public int getMinThinkingTime();
26:
27: /**
28: * Get Number of resolved anagrams
29: */
30: public int getNumResolvedAnagrams();
31:
32: /**
33: * Get The current anagram
34: */
35: public String getCurrentAnagram();
36:
37: /**
38: * Resety all thinking related counters
39: *
40: */
41: public void resetThinkingTimes();
42:
43: }
|