@ Override public DateTime getEnd ( ) { try { final rh_protoClient client = getRpcClient ( OncRpcProtocols . ONCRPC_UDP ) ; try { return decodeTimestamp ( BlockingWrapper . execute ( ( ) -> client . getEnd_1 ( ) ) ) ; } finally { client . close ( ) ; } } catch ( OncRpcException | IOException | InterruptedException | RuntimeException ex ) { LOG . log ( Level . SEVERE , "getEnd RPC call failed" , ex ) ; throw new RuntimeException ( "RPC call failed" , ex ) ; } }
Return the highest timestamp in the stored metrics .