private long getNanoRate() { return NanoTimer.millisToNanos(getSampleRate()); }
if (statThread != null) { try { int msToWait = getSampleRate() + 100; statThread.join(msToWait); } catch (InterruptedException ex) { this.callbackSampler.start(getStatisticsManager(), getSampleRate(), TimeUnit.MILLISECONDS); statThread = new LoggingThread("StatSampler", this); statThread.setPriority(Thread.MAX_PRIORITY);