com.sun.slamd.isw
Class NTLatencyCheckProducerThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.sun.slamd.isw.NTLatencyCheckProducerThread
All Implemented Interfaces:
java.lang.Runnable

public class NTLatencyCheckProducerThread
extends java.lang.Thread

This class defines a thread that will periodically make changes to a Windows NT domain that will be monitored by a consumer thread targeted at the Sun ONE Directory Server with which the NT domain is linked via Identity Synchronization for Windows.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NTLatencyCheckProducerThread(ISWLatencyCheckJobClass jobClass)
          Creates a new instance of this producer thread.
 
Method Summary
 void run()
          Loop, periodically making changes to the NT domain until requested to stop.
 void startChecking()
          Indicates that this producer thread should start the work of measuring latency by periodically modifying a user in the Windows NT domain.
 void stopAndWait()
          Indicates that this producer thread should stop running and that it should wait until verification has been provided that the thread has stopped.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

NTLatencyCheckProducerThread

public NTLatencyCheckProducerThread(ISWLatencyCheckJobClass jobClass)
Creates a new instance of this producer thread.

Parameters:
jobClass - The job class instance with which this producer thread is associated.
Method Detail

startChecking

public void startChecking()
Indicates that this producer thread should start the work of measuring latency by periodically modifying a user in the Windows NT domain.


stopAndWait

public void stopAndWait()
Indicates that this producer thread should stop running and that it should wait until verification has been provided that the thread has stopped.


run

public void run()
Loop, periodically making changes to the NT domain until requested to stop.