|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
com.sun.slamd.job.JobClass
com.sun.slamd.example.ReplicaLatencyCheckJobClass
public abstract class ReplicaLatencyCheckJobClass
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.
| 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 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 |
|---|
protected CategoricalTracker latencyCategories
protected java.lang.Object latencyCheckMutex
protected TimeTracker latencyTime
| Constructor Detail |
|---|
public ReplicaLatencyCheckJobClass()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||