jason.core
Class ScoreManager
java.lang.Object
|
+--jason.core.ScoreManager
- public class ScoreManager
- extends java.lang.Object
Created Mon Jun 10 10:00:27 2002
ScoreManager
. This is a toolkit for storing/loading
service performance. This is used by the ServicesManager
- See Also:
ServicesManager
Field Summary |
static java.lang.String |
FILE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE
public static final java.lang.String FILE
- See Also:
- Constant Field Values
ScoreManager
public ScoreManager()
getHostScore
public long getHostScore(Service s)
- Returns:
- the score for host management by this service
getRequestScore
public long getRequestScore(Service s)
- Returns:
- the score for request management by this service
storeScore
public void storeScore(Service s,
ServiceContext sc)
load
public void load()
throws JasonException
JasonException
save
public void save()