Class CoreDocumentSynchronizationConfig


  • public class CoreDocumentSynchronizationConfig
    extends Object
    • Method Detail

      • isStale

        public boolean isStale()
      • setStale

        public void setStale​(boolean stale)
      • setSomePendingWritesAndSave

        public void setSomePendingWritesAndSave​(long atTime,
                                                ChangeEvent<BsonDocument> changeEvent)
        Sets that there are some pending writes that occurred at a time for an associated locally emitted change event. This variant maintains the last version set.
        Parameters:
        atTime - the time at which the write occurred.
        changeEvent - the description of the write/change.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDocumentId

        public BsonValue getDocumentId()
      • hasUncommittedWrites

        public boolean hasUncommittedWrites()
      • getLastKnownRemoteVersion

        public BsonDocument getLastKnownRemoteVersion()
      • getLastKnownHash

        public long getLastKnownHash()