Package net.minecraft.profiler
Class Snooper
- java.lang.Object
-
- net.minecraft.profiler.Snooper
-
public class Snooper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Object>
dynamicData
private java.util.Map<java.lang.String,java.lang.Object>
fixedData
private java.lang.Object
lock
private ISnooperInfo
populator
private boolean
started
private long
startupTime
private java.util.Timer
timer
private java.lang.String
token
private java.net.URL
url
-
Constructor Summary
Constructors Constructor Description Snooper(java.lang.String p_i1563_1_, ISnooperInfo p_i1563_2_, long p_i1563_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getStartupTime()
java.lang.String
getToken()
void
interrupt()
boolean
isStarted()
void
prepare()
void
setDynamicData(java.lang.String p_152768_1_, java.lang.Object p_152768_2_)
void
setFixedData(java.lang.String p_152767_1_, java.lang.Object p_152767_2_)
void
start()
-
-
-
Field Detail
-
fixedData
private final java.util.Map<java.lang.String,java.lang.Object> fixedData
-
dynamicData
private final java.util.Map<java.lang.String,java.lang.Object> dynamicData
-
token
private final java.lang.String token
-
url
private final java.net.URL url
-
populator
private final ISnooperInfo populator
-
timer
private final java.util.Timer timer
-
lock
private final java.lang.Object lock
-
startupTime
private final long startupTime
-
started
private boolean started
-
-
Constructor Detail
-
Snooper
public Snooper(java.lang.String p_i1563_1_, ISnooperInfo p_i1563_2_, long p_i1563_3_)
-
-
Method Detail
-
start
public void start()
-
prepare
public void prepare()
-
setDynamicData
public void setDynamicData(java.lang.String p_152768_1_, java.lang.Object p_152768_2_)
-
setFixedData
public void setFixedData(java.lang.String p_152767_1_, java.lang.Object p_152767_2_)
-
isStarted
public boolean isStarted()
-
interrupt
public void interrupt()
-
getToken
public java.lang.String getToken()
-
getStartupTime
public long getStartupTime()
-
-