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
           
 
Constructor Summary
ScoreManager()
           
 
Method Summary
 long getHostScore(Service s)
           
 long getRequestScore(Service s)
           
 void load()
           
 void save()
           
 void storeScore(Service s, ServiceContext sc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE

public static final java.lang.String FILE
See Also:
Constant Field Values
Constructor Detail

ScoreManager

public ScoreManager()
Method Detail

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()