-
public class Stats
Stats module used for internal performance testing of the library Created by dyoung on 10/16/14.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
Stats.Sample
-
Method Summary
Modifier and Type Method Description static Stats
getInstance()
ArrayList<Stats.Sample>
getSamples()
void
setEnabled(boolean enabled)
boolean
isEnabled()
void
setLoggingEnabled(boolean enabled)
void
setHistoricalLoggingEnabled(boolean enabled)
void
setSampleIntervalMillis(long interval)
void
log(Beacon beacon)
void
clearSample()
void
newSampleInterval()
void
clearSamples()
-
-
Method Detail
-
getInstance
static Stats getInstance()
-
getSamples
ArrayList<Stats.Sample> getSamples()
-
setEnabled
void setEnabled(boolean enabled)
-
isEnabled
boolean isEnabled()
-
setLoggingEnabled
void setLoggingEnabled(boolean enabled)
-
setHistoricalLoggingEnabled
void setHistoricalLoggingEnabled(boolean enabled)
-
setSampleIntervalMillis
void setSampleIntervalMillis(long interval)
-
clearSample
void clearSample()
-
newSampleInterval
void newSampleInterval()
-
clearSamples
void clearSamples()
-
-
-
-