public LogicalTimestamp update ( LogicalTimestamp timestamp ) { if ( timestamp . value ( ) > currentTimestamp . value ( ) ) { this . currentTimestamp = timestamp ; } return currentTimestamp ; }
Updates the clock using the given timestamp .