Package io.prometheus.client.bridge
Class Graphite.PushThread
- java.lang.Object
-
- java.lang.Thread
-
- io.prometheus.client.bridge.Graphite.PushThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- Graphite
private class Graphite.PushThread extends java.lang.Thread
-
-
Field Summary
Fields Modifier and Type Field Description private int
intervalSeconds
private CollectorRegistry
registry
-
Constructor Summary
Constructors Constructor Description PushThread(CollectorRegistry registry, int intervalSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
registry
private final CollectorRegistry registry
-
intervalSeconds
private final int intervalSeconds
-
-
Constructor Detail
-
PushThread
PushThread(CollectorRegistry registry, int intervalSeconds)
-
-