setCurrentTimeMillis

isReplaying

true indicates if workflow is replaying already processed
events to reconstruct it state. false indicates that code is
making forward process for the first time. For example can be used to
avoid duplicating log records due to replay.