~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log_index.h

  • Committer: Brian Aker
  • Date: 2010-03-05 08:35:11 UTC
  • mfrom: (1273.1.33 bug530870)
  • Revision ID: brian@gaz-20100305083511-ttw26c53e48h7ctf
Merge Jay.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
  void addEntry(const TransactionLogEntry &entry,
102
102
                const drizzled::message::Transaction &transaction,
103
103
                uint32_t checksum);
 
104
  /**
 
105
   * Clears all data out of the transaction log
 
106
   * index.
 
107
   *
 
108
   * @note
 
109
   *
 
110
   * No locks are taken here.  Currently only used in debugging.
 
111
   */
 
112
  void clear();
 
113
 
 
114
  /* Some methods returning size in bytes of the index and its parts */
 
115
  size_t getTransactionEntriesSizeInBytes();
 
116
  size_t getEntriesSizeInBytes();
 
117
  size_t getSizeInBytes();
104
118
private:
105
119
  /* Don't allows these */
106
120
  TransactionLogIndex();
127
141
  uint64_t max_end_timestamp; ///< Maximim end timestamp in log
128
142
  uint64_t min_transaction_id; ///< Minimum transaction ID in log
129
143
  uint64_t max_transaction_id; ///< Maximum transaction ID in log
130
 
  uint64_t num_log_entries; ///< Total number of log entries in log
131
144
 
132
145
  TransactionLog::Entries entries; ///< Collection of information about the entries in the log
133
146
  TransactionLog::TransactionEntries transaction_entries; ///<