MCPcopy
hub / github.com/CodisLabs/codis / PushBack

Method PushBack

pkg/proxy/backend.go:74–79  ·  view source on GitHub ↗
(r *Request)

Source from the content-addressed store, hash-verified

72}
73
74func (bc *BackendConn) PushBack(r *Request) {
75 if r.Batch != nil {
76 r.Batch.Add(1)
77 }
78 bc.input <- r
79}
80
81func (bc *BackendConn) KeepAlive() bool {
82 if len(bc.input) != 0 {

Callers 15

KeepAliveMethod · 0.95
CleanupMethod · 0.45
TestBackendFunction · 0.45
dispatchAddrMethod · 0.45
ForwardMethod · 0.45
ForwardMethod · 0.45
slotsmgrtMethod · 0.45
slotsmgrtExecWrapperMethod · 0.45
loopReaderMethod · 0.45
TestRequestChan1Function · 0.45
TestRequestChan2Function · 0.45
TestRequestChan3Function · 0.45

Calls 1

AddMethod · 0.45

Tested by 6

TestBackendFunction · 0.36
TestRequestChan1Function · 0.36
TestRequestChan2Function · 0.36
TestRequestChan3Function · 0.36
benchmarkRequestChanNFunction · 0.36
newFakeServerFunction · 0.36