Class ReactiveFirestoreResourceHolder

java.lang.Object
org.springframework.transaction.support.ResourceHolderSupport
com.google.cloud.spring.data.firestore.transaction.ReactiveFirestoreResourceHolder
All Implemented Interfaces:
org.springframework.transaction.support.ResourceHolder

public class ReactiveFirestoreResourceHolder extends org.springframework.transaction.support.ResourceHolderSupport
Firestore specific resource holder, ReactiveFirestoreTransactionManager binds instances of this class to the subscriber context.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveFirestoreResourceHolder(com.google.protobuf.ByteString transactionId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.google.protobuf.ByteString
     
    List<com.google.firestore.v1.Write>
     

    Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport

    clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, resetRollbackOnly, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReactiveFirestoreResourceHolder

      public ReactiveFirestoreResourceHolder(com.google.protobuf.ByteString transactionId)
  • Method Details

    • getTransactionId

      public com.google.protobuf.ByteString getTransactionId()
    • getWrites

      public List<com.google.firestore.v1.Write> getWrites()
    • getEntities

      public List<Object> getEntities()