code: public static long getLifeStartTime(Record record) {
          long lastUpdateTime = record.getLastUpdateTime();
          return lastUpdateTime <= 0 ? record.getCreationTime() : lastUpdateTime;
      }
docs: Returns last-update-time of an entry if it was updated before, otherwise it returns creation-time of the entry.
  This calculation is required for time-to-live expiration, because after first creation of an entry via
  {@link com.hazelcast.core.IMap#put}, the {@code lastUpdateTime} is zero till the first update.