proxy

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggCanonicalizingSet

type AggCanonicalizingSet []interface{}

func (AggCanonicalizingSet) ClassID

func (a AggCanonicalizingSet) ClassID() (classID int32)

func (AggCanonicalizingSet) FactoryID

func (a AggCanonicalizingSet) FactoryID() int32

func (*AggCanonicalizingSet) ReadData

func (a *AggCanonicalizingSet) ReadData(input serialization.DataInput)

func (AggCanonicalizingSet) WriteData

func (a AggCanonicalizingSet) WriteData(output serialization.DataOutput)

type AggregateFactory

type AggregateFactory struct {
}

func (AggregateFactory) Create

func (AggregateFactory) FactoryID

func (a AggregateFactory) FactoryID() int32

type ReferenceIDGenerator

type ReferenceIDGenerator struct {
	// contains filtered or unexported fields
}

func NewReferenceIDGenerator

func NewReferenceIDGenerator(nextID int64) *ReferenceIDGenerator

func (*ReferenceIDGenerator) NextID

func (gen *ReferenceIDGenerator) NextID() int64

type VectorClock

type VectorClock map[types.UUID]int64

VectorClock consists of distinct replica logical clocks.

The vector clock may be read from different thread but concurrent updates must be synchronized externally. There is no guarantee for concurrent updates.

See Also: https://en.wikipedia.org/wiki/Vector_clock

func NewVectorClock

func NewVectorClock() VectorClock

func NewVectorClockFromPairs

func NewVectorClockFromPairs(pairs []proto.Pair) VectorClock

func (VectorClock) After

func (vc VectorClock) After(other VectorClock) bool

After returns true if this vector clock is causally strictly after the provided vector clock. This means that it the provided clock is neither equal to, greater than or concurrent to this vector clock.

func (VectorClock) EntrySet

func (vc VectorClock) EntrySet() []proto.Pair

func (VectorClock) SetReplicaTimestamp

func (vc VectorClock) SetReplicaTimestamp(id types.UUID, ts int64)

func (VectorClock) Size

func (vc VectorClock) Size() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL