MCPcopy
hub / github.com/dropbox/godropbox / flushHelper

Method flushHelper

memcache/sharded_client.go:402–414  ·  view source on GitHub ↗
(
	shard int,
	conn net2.ManagedConn,
	expiration uint32)

Source from the content-addressed store, hash-verified

400}
401
402func (c *ShardedClient) flushHelper(
403 shard int,
404 conn net2.ManagedConn,
405 expiration uint32) Response {
406
407 if conn == nil {
408 return NewErrorResponse(c.connectionError(shard, nil))
409 }
410 client := c.builder(shard, conn)
411 defer c.release(client, conn)
412
413 return client.Flush(expiration)
414}
415
416// See Client interface for documentation.
417func (c *ShardedClient) Flush(expiration uint32) Response {

Callers 1

FlushMethod · 0.95

Calls 4

connectionErrorMethod · 0.95
releaseMethod · 0.95
NewErrorResponseFunction · 0.85
FlushMethod · 0.65

Tested by

no test coverage detected