func (self *memcachedPool) SetBehavior(behavior BehaviorType, value uint64) error { return self.checkError( C.memcached_pool_behavior_set( self.pool, C.memcached_behavior_t(behavior), C.uint64_t(value))) }
func (self *memcachedPool) GetBehavior(behavior BehaviorType) (value uint64, err error) { err = self.checkError( C.memcached_pool_behavior_get( self.pool, C.memcached_behavior_t(behavior), (*C.uint64_t)(&value))) return }
func (self *memcached) GetBehavior(behavior BehaviorType) (uint64, error) { return uint64(C.memcached_behavior_get(self.mc, C.memcached_behavior_t(behavior))), nil }