org.activemath.util.checks
Class MBaseRefChecker

java.lang.Object
  extended by java.lang.Thread
      extended by org.activemath.util.checks.Checker
          extended by org.activemath.util.checks.MBaseRefChecker
All Implemented Interfaces:
Runnable

public class MBaseRefChecker
extends Checker

A class that performs regular checks on the MBase interface using the method MBaseRef.assertItsUp(). It extends java.lang.Thread and performs its check regularily.

Version:
0.1

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class org.activemath.util.checks.Checker
aborted, BAD_STATE, BLOCKING_STATE, blockingPrepared, lastBlockingDate, lastBlockingDescription, lastFailureDate, lastFailureDescription, lastSuccessDate, retryInterval, SANE_STATE, shuttingDownSince, UNEXPECTED_BLOCKING_STATE
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MBaseRefChecker(Subconfiguration config)
          wrapped constructor
 
Method Summary
 void run()
          runs the thread
 
Methods inherited from class org.activemath.util.checks.Checker
computeBlocking, getCheckerState, getLastFailureDate, getLastFailureDescription, getLastSuccessDate, isBlocking, prepareForBlocking, testComplete, testFails, testSucceeds, unprepareForBlocking
 
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

MBaseRefChecker

public MBaseRefChecker(Subconfiguration config)
wrapped constructor

Method Detail

run

public void run()
runs the thread

Specified by:
run in interface Runnable
Specified by:
run in class Checker