Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitStore ¶
type DeadLetter ¶
type SafeCommitHash ¶
func MakeSafeCommitHash ¶
func MakeSafeCommitHash(hash map[int]CommitStore) *SafeCommitHash
func (*SafeCommitHash) Delete ¶
func (s *SafeCommitHash) Delete(key int)
potential optimization: write a specific delete function (the for loop in commitCalculator.Delete) that only locks/unlocks once
func (*SafeCommitHash) GetOffsets ¶
func (s *SafeCommitHash) GetOffsets() []int
func (*SafeCommitHash) Read ¶
func (s *SafeCommitHash) Read(key int) (CommitStore, bool)
func (*SafeCommitHash) Write ¶
func (s *SafeCommitHash) Write(key int, value CommitStore)
Click to show internal directories.
Click to hide internal directories.