Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestMulti"/> class.
 /// </summary>
 /// <param name="operations">List of <see cref="Op"/>s to include in the batch</param>
 /// <param name="completeSynchronously"><c>true</c> if the server must ensure durability before returning</param>
 /// <param name="scheduledName">if not null makes this command be inserted with the given name (must be unique) into the RingMaster backend scheduler command queue for later background execution</param>
 /// <param name="uid">Unique Id of the request</param>
 public RequestMulti(IReadOnlyList <Op> operations, bool completeSynchronously, string scheduledName, ulong uid = 0)
     : this(AbstractRingMasterCompoundRequest.GetRequests(operations), completeSynchronously, scheduledName, uid)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestBatch"/> class.
 /// </summary>
 /// <param name="operations">List of <see cref="Op"/>s to include in the batch</param>
 /// <param name="completeSynchronously"><c>true</c> if the server must ensure durability before returning</param>
 /// <param name="uid">Unique Id of the request</param>
 public RequestBatch(IReadOnlyList <Op> operations, bool completeSynchronously, ulong uid = 0)
     : this(AbstractRingMasterCompoundRequest.GetRequests(operations), completeSynchronously, uid)
 {
 }