Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VectorClock ¶
type VectorClock struct {
// contains filtered or unexported fields
}
func NewVectorClock ¶
func NewVectorClock(number_of_nodes int) *VectorClock
func (*VectorClock) Compare ¶
func (vc *VectorClock) Compare(clock []int64) int
func (*VectorClock) GetClock ¶
func (vc *VectorClock) GetClock() []int64
func (*VectorClock) Increment ¶
func (vc *VectorClock) Increment(node_id int)
func (*VectorClock) Update ¶
func (vc *VectorClock) Update(clock []int64)
Click to show internal directories.
Click to hide internal directories.