void (final int version) { setIntHeaderField(HEADER_VERSION_OFFSET, version); setLongHeaderField(HEADER_TIMESTAMP_OFFSET, System.currentTimeMillis()); globalModCount.incrementAndGet(); dirty.compareAndSet(false, true); }