public void ApplyShippedLogs(IEnumerable <TransactionToShip> shippedTransactions)
            {
                if (shippedTransactions == null)
                {
                    throw new ArgumentNullException();
                }
                shippedTransactions = shippedTransactions.OrderBy(x => x.Header.TransactionId).ToList();

                if (shippedTransactions.Any() == false)
                {
                    return;
                }

                using (var tempPager = _waj._env.Options.CreateScratchPager(StorageEnvironmentOptions.TempBufferName()))
                {
                    tempPager.DeleteOnClose = true;
                    var shippedTransactionsReader = new ShippedTransactionsReader(tempPager);
                    shippedTransactionsReader.ReadTransactions(shippedTransactions);

                    using (var tx = _waj._env.NewTransaction(TransactionFlags.ReadWrite))
                    {
                        tx.WriteDirect(shippedTransactionsReader.RawPageData);
                        tx.Commit();
                    }
                }
            }