In my app I start a nanoTime in this way:
long startTime = System.nanoTime();
now I want that at a specific value of 'startTime' (ex: 1000000) is called a method "myMethod"
private void myMethod(){
//all operations
}
what's the best way to do it?