/** * Returns the timestamp to assign to the updated document. * * @return The document timestamp. */ public long getNewTimestamp() { deserialize(); return newTime; }
/** * Returns the document update to perform. * * @return The update. */ public DocumentUpdate getDocumentUpdate() { deserialize(); return update; }
/** * Returns the timestamp required for this update to be applied. * * @return The document timestamp. */ public long getOldTimestamp() { deserialize(); return oldTime; }
@Override public TestAndSetCondition getCondition() { deserialize(); return update.getCondition(); }
@Override public long getSequenceId() { deserialize(); return Arrays.hashCode(update.getId().getGlobalId()); }