org.multiverse.utils.instrumentation
Class InstrumentationProblemMonitor

java.lang.Object
  extended by org.multiverse.utils.instrumentation.InstrumentationProblemMonitor

public final class InstrumentationProblemMonitor
extends java.lang.Object

Since it is not possible to disrupt the instrumentation process if problems are encountered, some kind of warning mechanism needs to be created. That is the task of this InstrumentationProblemMonitor.

What is does is it launches a thread that prints warning messages every 10 second to the Log.servere when the first problem is signalled. Following problems are ignored.

Author:
Peter Veentjer

Field Summary
static InstrumentationProblemMonitor INSTANCE
           
 
Method Summary
 boolean isProblemFound()
           
 void signalProblem()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final InstrumentationProblemMonitor INSTANCE
Method Detail

isProblemFound

public boolean isProblemFound()

signalProblem

public void signalProblem()


Copyright © 2008-2010 Multiverse. All Rights Reserved.