@Override protected int compareHeaders(Headers lhs, Headers rhs) { return compare(lhs.get(FileVersion.FILE_VERSION), rhs.get(FileVersion.FILE_VERSION)); }
@Override protected long version(Headers headers) { return headers == null ? FileVersion.INITIAL_TX_ID : headers.get(FileVersion.FILE_VERSION).txId; }
@Override protected Headers initialHeaders(long txId) { return Headers.headersBuilder().put(FileVersion.FILE_VERSION, new FileVersion(txId)).headers(); }