public long deadline ( final long timerId ) { final int wheelIndex = tickForTimerId ( timerId ) ; final int arrayIndex = indexInTickArray ( timerId ) ; if ( wheelIndex < wheel . length ) { final long [ ] array = wheel [ wheelIndex ] ; if ( arrayIndex < array . length ) { return array [ arrayIndex ] ; } } return NULL_TIMER ; }
Return the deadline for the given timerId .