client/src/main/java/eventstore/j/EsConnection.java
Future<EsTransaction> startTransaction(
      String stream,
      ExpectedVersion expectedVersion,
      UserCredentials credentials,
      boolean requireMaster);
/**
   * Starts a transaction in the event store on a given stream asynchronously
   * <p>
   * A {@link eventstore.j.EsTransaction} allows the calling of multiple writes with multiple
   * round trips over long periods of time between the caller and the event store. This method
   * is only available through the TCP interface and no equivalent exists for the RESTful interface.
   *
   * @param stream          The stream to start a transaction on
   * @param expectedVersion The expected version of the stream at the time of starting the transaction
   * @param credentials     The optional user credentials to perform operation with
   * @param requireMaster   Require Event Store to refuse operation if it is not master
   * @return A {@link scala.concurrent.Future} containing an actual transaction
   */
Starts a transaction in the event store on a given stream asynchronously

A  eventstore.j.EsTransaction allows the calling of multiple writes with multiple
round trips over long periods of time between the caller and the event store. This method
is only available through the TCP interface and no equivalent exists for the RESTful interface.


Starts a transaction in the event store on a given stream asynchronously A eventstore . j . EsTransaction allows the calling of multiple writes with multiple round trips over long periods of time between the caller and the event store . This method is only available through the TCP interface and no equivalent exists for the RESTful interface .
Future<EsTransaction> startTransaction(
      String stream,
      ExpectedVersion expectedVersion,
      UserCredentials credentials,
      boolean requireMaster);
Future < EsTransaction > startTransaction ( String stream , ExpectedVersion expectedVersion , UserCredentials credentials , boolean requireMaster ) ;
Starts a transaction in the event store on a given stream asynchronously
 <p>
 A {@link eventstore.j.EsTransaction} allows the calling of multiple writes with multiple
 round trips over long periods of time between the caller and the event store.
Starts a transaction in the event store on a given stream asynchronously <p > A { @link eventstore . j . EsTransaction } allows the calling of multiple writes with multiple round trips over long periods of time between the caller and the event store .