com.sun.slamd.example
Class ReplicaLatencyCheckJobClass

java.lang.Object
  extended by java.lang.Thread
      extended by com.sun.slamd.job.JobClass
          extended by com.sun.slamd.example.ReplicaLatencyCheckJobClass
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
AddRateWithReplicaLatencyJobClass, CombinedAddAndDelRateWithReplicaLatencyJobClass, DelRateWithReplicaLatencyJobClass, LDAPLoadWithReplicaLatencyJobClass, ModRateWithReplicaLatencyJobClass, SiteMinderWithReplicaLatencyJobClass, WeightedModRateWithReplicaLatencyJobClass, WeightedSiteMinderWithReplicaLatencyJobClass

public abstract class ReplicaLatencyCheckJobClass
extends JobClass

This class defines a generic type of job class that may be used in checking latency associated with replicated operations. It merely defines a few additional attributes that are expected to be present in subclasses that can be accessed by the threads that perform the work of checking the latency.

Author:
Neil A. Wilson

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  CategoricalTracker latencyCategories
          The stat tracker that is used to categorize the latencies by second.
protected  java.lang.Object latencyCheckMutex
          The mutex used to help in the latency timing.
protected  TimeTracker latencyTime
          The stat tracker that is used to determine how much time passes between a change occurs on a master and the change appears in a consumer.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReplicaLatencyCheckJobClass()
           
 
Method Summary
 
Methods inherited from class com.sun.slamd.job.JobClass
destroy, enableRealTimeStats, finalizeClient, finalizeJob, finalizeThread, getActiveThreadCount, getClientID, getClientNumber, getClientSideJob, getClientSideParameterStubs, getCollectionInterval, getJobCategoryName, getJobDescription, getJobID, getJobName, getParameterStubs, getScheduledDuration, getShouldStopTime, getStatReporter, getStatTrackers, getStatTrackerStubs, getThreadID, getThreadNumber, indicateCompletedWithErrors, indicateStoppedDueToError, initializeClient, initializeJob, initializeJobThread, initializeThread, isDeprecated, isRunning, logMessage, overrideCollectionInterval, overrideNumClients, overrideThreadsPerClient, providesParameterTest, run, runJob, setClientNumber, setClientSideJob, setThreadNumber, shouldStop, stackTraceToString, startJob, stopAndWait, stopJob, stopRequested, testJobParameters, validateJobInfo, writeVerbose
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, 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
 

Field Detail

latencyCategories

protected CategoricalTracker latencyCategories
The stat tracker that is used to categorize the latencies by second.


latencyCheckMutex

protected java.lang.Object latencyCheckMutex
The mutex used to help in the latency timing.


latencyTime

protected TimeTracker latencyTime
The stat tracker that is used to determine how much time passes between a change occurs on a master and the change appears in a consumer.

Constructor Detail

ReplicaLatencyCheckJobClass

public ReplicaLatencyCheckJobClass()