boolean detectAndHandleTimeout ( long heartbeatTimeoutMillis ) { if ( skipTimeoutDetection ( ) ) { return false ; } HeartbeatTimeout heartbeatTimeout = detectTimeout ( heartbeatTimeoutMillis ) ; if ( heartbeatTimeout == TIMEOUT ) { complete ( HEARTBEAT_TIMEOUT ) ; return true ; } else { return false ; } }
Checks if this Invocation has received a heartbeat in time .