db_node

package
v0.0.0-...-2ee7648 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBNode

type DBNode struct {
	*wpaxos.Replica
	// contains filtered or unexported fields
}

func NewDBNode

func NewDBNode() *DBNode

func (*DBNode) EvictKey

func (db *DBNode) EvictKey(table string)

func (*DBNode) GetReplicationGroupZones

func (db *DBNode) GetReplicationGroupZones(zone uint8) []uint8

func (*DBNode) HandleRequest

func (db *DBNode) HandleRequest(m fleetdb.Request)

Request

func (*DBNode) SetMemProfile

func (db *DBNode) SetMemProfile(memprofile string)

type GossipBalance

type GossipBalance struct {
	Items int
	From  ids.ID
}

load Gossip

func (GossipBalance) String

func (gb GossipBalance) String() string

type ProximityPingRequest

type ProximityPingRequest struct {
	From     ids.ID
	TimeSent int64
}

func (ProximityPingRequest) String

func (ppr ProximityPingRequest) String() string

type ProximityPingResponse

type ProximityPingResponse struct {
	From     ids.ID
	TimeSent int64
}

func (ProximityPingResponse) String

func (ppr ProximityPingResponse) String() string

Jump to

Keyboard shortcuts

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