Documentation ¶
Index ¶
Constants ¶
View Source
const MaxTxnWrites uint64 = 10 // 10 is completely arbitrary
MaxTxnWrites is a guaranteed reservation for each transaction.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (Log) Apply ¶
func (l Log) Apply()
Apply all the committed transactions.
Frees all the space in the log.
func (Log) BeginTxn ¶
BeginTxn allocates space for a new transaction in the log.
Returns true if the allocation succeeded.
Click to show internal directories.
Click to hide internal directories.