gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats
Class SearchStatsContainer

java.lang.Object
  extended by java.lang.Thread
      extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.SearchStatsContainer
All Implemented Interfaces:
Runnable

public class SearchStatsContainer
extends Thread

Statistics

Author:
UoA

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SearchStatsContainer()
          Constructor
 
Method Summary
 void executeInternal()
          execute through internal engine
 void executePES()
          execute through pes
 void executionError()
          execution Error
 void newConfiguration()
          New configuration invocation
 void newInvocation()
          New invocation
 void parseError()
          parsing error
 void planningError()
          planning Error
 void preprocessError()
          preprocess Error
 void run()
           
 void timeToExecute(long time)
          mean time for execution
 void timeToParse(long time)
          mean time for parse
 void timeToPlan(long time)
          mean time for plan
 void timeToPreprocess(long time)
          mean time for preprocessing
 void timeToReference(long time)
          mean time for reference
 void timeToValidate(long time)
          mean time for validation
 void validationError()
          validation error
 void writeToRI()
          Writes the statistics to the RI profile
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchStatsContainer

public SearchStatsContainer()
Constructor

Parameters:
RItoKeepStatsFor - the RI to keep statistics for
Method Detail

newInvocation

public void newInvocation()
New invocation


newConfiguration

public void newConfiguration()
New configuration invocation


parseError

public void parseError()
parsing error


validationError

public void validationError()
validation error


preprocessError

public void preprocessError()
preprocess Error


planningError

public void planningError()
planning Error


executionError

public void executionError()
execution Error


executeInternal

public void executeInternal()
execute through internal engine


executePES

public void executePES()
execute through pes


timeToReference

public void timeToReference(long time)
mean time for reference

Parameters:
time - time in millisecs

timeToParse

public void timeToParse(long time)
mean time for parse

Parameters:
time - time in millisecs

timeToValidate

public void timeToValidate(long time)
mean time for validation

Parameters:
time - time in millisecs

timeToPreprocess

public void timeToPreprocess(long time)
mean time for preprocessing

Parameters:
time - time in millisecs

timeToPlan

public void timeToPlan(long time)
mean time for plan

Parameters:
time - time in millisecs

timeToExecute

public void timeToExecute(long time)
mean time for execution

Parameters:
time - time in millisecs

writeToRI

public void writeToRI()
Writes the statistics to the RI profile


run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Runnable.run()


Copyright © 2013. All Rights Reserved.