Interface TransactionMetadata

All Known Subinterfaces:
MongoTransactionOptions

public interface TransactionMetadata
MongoDB-specific transaction metadata.
Since:
4.3
Author:
Christoph Strobl
  • Method Details

    • getMaxCommitTime

      @Nullable Duration getMaxCommitTime()
      Returns:
      the maximum commit time. Can be null if not configured.
    • hasMaxCommitTime

      default boolean hasMaxCommitTime()
      Returns:
      true if the max commit time is configured; false otherwise.