class TimestampIncrementingNonceFactory implements SynchronizedValueFactory<Long> {

  private static final long START_MILLIS =
      1356998400000L; // Jan 1st, 2013 in milliseconds from epoch

  private int lastNonce = 0;

  @Override
  public Long createValue() {<FILL_FUNCTION_BODY>}
}


    lastNonce = Math.max(lastNonce + 1, (int) ((System.currentTimeMillis() - START_MILLIS) / 250L));
    return (long) lastNonce;
  
<no_super_class>