Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bdeggleston/kickboxer
/ functions
Functions
1,093 in github.com/bdeggleston/kickboxer
⨍
Functions
1,093
◇
Types & classes
186
↓ 7 callers
Function
transformMockNodeArray
(src []*mockNode)
src/consensus/testing_mocks.go:210
↓ 7 callers
Method
waitForStatus
waits for all managers to have the given status for the given instance
src/consensus/integration_test.go:30
↓ 6 callers
Method
Add
(ids ...InstanceID)
src/consensus/instance_containers.go:65
↓ 6 callers
Method
Close
()
src/consensus/testing_mocks.go:276
↓ 6 callers
Method
Combine
(idSets ...InstanceIDSet)
src/consensus/instance_containers.go:77
↓ 6 callers
Method
DeserializeValue
serializes a value
src/store/store.go:58
↓ 6 callers
Method
Get
gets a connection from the pool, creating one if the pool is empty
src/cluster/connection.go:119
↓ 6 callers
Method
HandleAccept
handles an accept message from the command leader for an instance this executes the replica accept phase for the given instance
src/consensus/manager_accept.go:168
↓ 6 callers
Function
NewBallotError
(format string, a ...interface{})
src/consensus/errors.go:26
↓ 6 callers
Function
NewSizedInstanceIDSet
(size int)
src/consensus/instance_containers.go:19
↓ 6 callers
Method
NumBytes
returns the number of bytes the serialized message will contain
src/message/message.go:26
↓ 6 callers
Method
Serialize
(buf *bufio.Writer)
src/store/store.go:16
↓ 6 callers
Method
UnmarshalBinary
(bs []byte)
src/types/b16.go:31
↓ 6 callers
Method
commitInstances
commits all instances
src/consensus/manager_execute_test.go:259
↓ 6 callers
Method
getChan
()
src/consensus/manager.go:127
↓ 6 callers
Method
getCommitEvent
()
src/consensus/instance.go:152
↓ 6 callers
Method
getInstanceReplicas
returns the replicas for the given instance's key, excluding the local node
src/consensus/manager.go:214
↓ 6 callers
Function
newPgmConn
()
src/cluster/testing.go:282
↓ 6 callers
Method
patchAccept
(e error)
src/consensus/manager_prepare_test.go:52
↓ 5 callers
Method
AddDependency
(keys []string, instance *Instance)
src/consensus/manager_depedencies.go:263
↓ 5 callers
Method
Deserialize
(buf *bufio.Reader)
src/store/store.go:17
↓ 5 callers
Method
GetAddr
()
src/topology/node.go:20
↓ 5 callers
Method
GetValue
()
src/kvstore/val_bool.go:24
↓ 5 callers
Method
GetValue
()
src/redis/val_bool.go:24
↓ 5 callers
Method
HandlePreAccept
handles a preaccept message from the command leader for an instance this executes the replica preaccept phase for the given instance
src/consensus/manager_preaccept.go:208
↓ 5 callers
Method
MarshalBinary
()
src/types/b16.go:13
↓ 5 callers
Method
Name
()
src/topology/node.go:19
↓ 5 callers
Function
NewRemoteNode
creates a new remote node from only an address
src/cluster/node.go:123
↓ 5 callers
Method
SetHandshakeCompleted
()
src/cluster/connection.go:58
↓ 5 callers
Method
Stop
()
src/node/node.go:41
↓ 5 callers
Method
acceptPhase
(instance *Instance)
src/consensus/manager_accept.go:162
↓ 5 callers
Method
addOutgoingMessage
(m message.Message)
src/cluster/testing.go:324
↓ 5 callers
Method
getInstance
(iid InstanceID)
src/consensus/manager.go:267
↓ 5 callers
Method
patchPreAccept
(r bool, e error)
src/consensus/manager_prepare_test.go:45
↓ 5 callers
Method
setDeps
(reason string, deps []InstanceID)
src/consensus/instance.go:225
↓ 4 callers
Method
Equal
(o store.Value)
src/kvstore/val_string.go:39
↓ 4 callers
Method
Equal
(o store.Value)
src/kvstore/val_bool.go:36
↓ 4 callers
Method
Equal
(o store.Value)
src/redis/val_string.go:39
↓ 4 callers
Method
Equal
(o store.Value)
src/redis/val_bool.go:36
↓ 4 callers
Method
GetKeys
returns all of the keys held by the store
src/store/store.go:67
↓ 4 callers
Method
GetLocalNodeID
()
src/topology/topology.go:111
↓ 4 callers
Method
GetMap
adds the instances of the given instance ids to the given instance map, and returns it if the given map is nil, a new map is allocated and returned
src/consensus/instance_containers.go:252
↓ 4 callers
Method
GetName
()
src/cluster/cluster.go:137
↓ 4 callers
Method
GetType
returns the message type enum
src/message/message.go:22
↓ 4 callers
Method
HandleCommit
handles an commit message from the command leader for an instance this executes the replica commit phase for the given instance
src/consensus/manager_commit.go:125
↓ 4 callers
Method
HandlePrepare
handles a prepare message from an instance attempting to take control of an instance.
src/consensus/manager_prepare.go:533
↓ 4 callers
Method
HandlePrepareSuccessor
handles a message from a replica requesting that a prepare phase is executed on the given instance
src/consensus/manager_prepare.go:571
↓ 4 callers
Method
InstanceIDs
()
src/consensus/instance_containers.go:230
↓ 4 callers
Method
InterferingKeys
TODO: remove and rework epaxos to interact with the store directly
src/clusterproto/clusterproto.go:46
↓ 4 callers
Method
KeyExists
checks if a key exists in the store
src/store/store.go:70
↓ 4 callers
Method
List
()
src/consensus/instance_containers.go:127
↓ 4 callers
Function
NewRing
creates and starts a ring
src/topology/ring.go:50
↓ 4 callers
Method
ReportExecuted
reports and instance as executed. Once an instance has been acknowledged as a dependency and executed, it can be removed from the dependency tree
src/consensus/manager_depedencies.go:240
↓ 4 callers
Method
SetUpTest
(c *gocheck.C)
src/consensus/manager_prepare_test.go:32
↓ 4 callers
Method
Subtract
remove all the keys in o, from i, returns removed keys
src/consensus/instance_containers.go:97
↓ 4 callers
Method
Time
()
src/types/uuid.go:44
↓ 4 callers
Method
addMissingInstances
(instances ...*Instance)
src/consensus/manager.go:351
↓ 4 callers
Method
broadcastCommitEvent
()
src/consensus/instance.go:161
↓ 4 callers
Method
commitPhase
(instance *Instance)
src/consensus/manager_commit.go:119
↓ 4 callers
Method
getLocalDeps
(instance *Instance)
src/consensus/manager_depedencies.go:119
↓ 4 callers
Method
getPeerData
returns data on peer nodes
src/cluster/cluster.go:154
↓ 4 callers
Method
handleConnection
(conn net.Conn)
src/cluster/server.go:60
↓ 4 callers
Method
patchPreparePhase
(err error, commit bool)
src/consensus/manager_execute_test.go:132
↓ 4 callers
Method
sendAccept
(instance *Instance, replicas []node.Node)
src/consensus/manager_accept.go:65
↓ 4 callers
Method
sendPreAccept
sends pre accept responses to the given replicas, and returns their responses. An error will be returned if there are problems, or a quorum of respons
src/consensus/manager_preaccept.go:58
↓ 4 callers
Function
setupCluster
----------------- cluster setup -----------------
src/cluster/testing.go:26
↓ 3 callers
Method
Closed
()
src/cluster/connection.go:53
↓ 3 callers
Method
Equal
(o store.Value)
src/kvstore/val_tombstone.go:32
↓ 3 callers
Method
Equal
(o store.Value)
src/redis/val_tombstone.go:32
↓ 3 callers
Method
GetOrSet
gets an existing instance matching the given instance's iid, or adds the given instance to the map. The initialize function, if not nil, is run on the
src/consensus/instance_containers.go:178
↓ 3 callers
Method
GetRawKey
returns raw data associated with the given key
src/store/store.go:61
↓ 3 callers
Method
GetToken
(key string)
src/partitioner/md5.go:12
↓ 3 callers
Function
NewInstanceMap
()
src/consensus/instance_containers.go:158
↓ 3 callers
Function
NewInstruction
creates a new instruction
src/store/instruction.go:24
↓ 3 callers
Function
NewInvalidStatusUpdateError
(instance *Instance, update InstanceStatus)
src/consensus/errors.go:50
↓ 3 callers
Function
NewManager
( t *topology.Topology, s store.Store, )
src/consensus/manager.go:172
↓ 3 callers
Function
NewTimeoutError
(format string, a ...interface{})
src/consensus/errors.go:14
↓ 3 callers
Method
Remove
(instance *Instance)
src/consensus/instance_containers.go:205
↓ 3 callers
Method
String
()
src/consensus/errors.go:25
↓ 3 callers
Method
Timeout
()
src/cluster/testing.go:200
↓ 3 callers
Method
addMissingInstancesUnsafe
(instances ...*Instance)
src/consensus/manager.go:317
↓ 3 callers
Function
baseValueEqual
----------- equality helpers -----------
src/kvstore/values.go:53
↓ 3 callers
Function
baseValueEqual
----------- equality helpers -----------
src/redis/values.go:53
↓ 3 callers
Method
commit
commits the instance the broadcast event is not sent here because the instance needs to be persisted before the event is sent
src/consensus/instance.go:359
↓ 3 callers
Method
executeDependencyChain
executes the dependencies up to the given instance
src/consensus/manager_execute.go:264
↓ 3 callers
Method
executeRequest
executes a request and returns a response message
src/cluster/server.go:31
↓ 3 callers
Method
log
log to the test pointer, if it exists
src/cluster/node_mock.go:81
↓ 3 callers
Function
makeLiteralRing
makes a ring of the given size, with the tokens evenly spaced
src/cluster/testing.go:94
↓ 3 callers
Method
mergeAttributes
merges sequence and dependencies onto this instance, and returns true/false to indicate if there were any changes
src/consensus/instance.go:276
↓ 3 callers
Method
mergePreAcceptAttributes
merges the attributes from the pre accept responses onto the local instance and returns a bool indicating if any changes were made
src/consensus/manager_preaccept.go:133
↓ 3 callers
Function
newMockNode
(id node.NodeId, dcid topology.DatacenterID, token partitioner.Token, name string)
src/cluster/node_mock.go:39
↓ 3 callers
Function
newMockStatter
()
src/consensus/testing_mocks.go:230
↓ 3 callers
Function
newMockStore
()
src/consensus/testing_mocks.go:286
↓ 3 callers
Method
set
Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type. Any previous time to live associated with t
src/kvstore/cmd_set.go:23
↓ 3 callers
Method
set
Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type. Any previous time to live associated with t
src/redis/cmd_set.go:23
↓ 3 callers
Method
updateBallot
(ballot uint32)
src/consensus/instance.go:215
↓ 2 callers
Function
Connect
connects and returns a new connection timeout is the number of milliseconds until the connection attempt is aborted
src/cluster/connection.go:21
↓ 2 callers
Method
Difference
returns a new set with all of the keys in i, that aren't in o
src/consensus/instance_containers.go:86
↓ 2 callers
Method
Error
()
src/consensus/errors.go:24
↓ 2 callers
Method
ExecuteQuery
executes a distributed query against cluster
src/clusterproto/clusterproto.go:40
← previous
next →
101–200 of 1,093, ranked by callers