Define this as static constant: java.util.concurrent.TimeUnit.MILLISECONDS.toNanos(1)/2