Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static int |
FIRST_SCORE_PACKETS_PER_SECOND_THRESHOLD |
static int |
SECOND_SCORE_PACKETS_PER_SECOND_THRESHOLD |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ScoreboardUpdater(WorldCache worldCache) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPacketsPerSecond() |
int |
incrementAndGetPacketsPerSecond()
Increase the Scoreboard Packets Per Second and return the updated value
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, 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, yieldpublic static final int FIRST_SCORE_PACKETS_PER_SECOND_THRESHOLD
public static final int SECOND_SCORE_PACKETS_PER_SECOND_THRESHOLD
public ScoreboardUpdater(WorldCache worldCache)
Copyright © 2021 GeyserMC. All rights reserved.