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

Method IsValidState

memcache/interface.go:259–259  ·  view source on GitHub ↗

This returns true if the client is in a valid state. If the client is in invalid state, the user should abandon the current client / channel, and create a new client / channel as replacment.

()

Source from the content-addressed store, hash-verified

257 // in invalid state, the user should abandon the current client / channel,
258 // and create a new client / channel as replacment.
259 IsValidState() bool
260}
261
262// The ClientShardBuilder creates ClientShard by shard id and connection.

Callers 15

TestGetMethod · 0.65
TestGetNotFoundMethod · 0.65
TestGetDupKeysMethod · 0.65
TestGetBadKeyMethod · 0.65
TestGetErrorMidStreamMethod · 0.65
TestSetMethod · 0.65
TestSetBadKeyMethod · 0.65
TestSetBadValueMethod · 0.65
TestStoreNotFoundMethod · 0.65
TestStoreItemNotStoreMethod · 0.65
TestStoreKeyExistsMethod · 0.65

Implementers 2

RawBinaryClientmemcache/raw_binary_client.go
RawAsciiClientmemcache/raw_ascii_client.go

Calls

no outgoing calls

Tested by 15

TestGetMethod · 0.52
TestGetNotFoundMethod · 0.52
TestGetDupKeysMethod · 0.52
TestGetBadKeyMethod · 0.52
TestGetErrorMidStreamMethod · 0.52
TestSetMethod · 0.52
TestSetBadKeyMethod · 0.52
TestSetBadValueMethod · 0.52
TestStoreNotFoundMethod · 0.52
TestStoreItemNotStoreMethod · 0.52
TestStoreKeyExistsMethod · 0.52