com.sun.slamd.example
Class ReplicaLatencyCheckJobClass

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.sun.slamd.job.JobClass
          extended bycom.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.


Field Summary
protected  CategoricalTracker latencyCategories
           
protected  java.lang.Object latencyCheckMutex
           
protected  TimeTracker latencyTime
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReplicaLatencyCheckJobClass()
           
 
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, 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
 

Field Detail

latencyCategories

protected CategoricalTracker latencyCategories

latencyCheckMutex

protected java.lang.Object latencyCheckMutex

latencyTime

protected TimeTracker latencyTime
Constructor Detail

ReplicaLatencyCheckJobClass

public ReplicaLatencyCheckJobClass()