attrMap[self::ATTR_DURABILITY] = self::QOS_DURABILITY_NONE; } protected function doGet( $key, $flags = 0, &$casToken = null ) { $casToken = null; return false; } protected function doSet( $key, $value, $exptime = 0, $flags = 0 ) { return true; } protected function doDelete( $key, $flags = 0 ) { return true; } protected function doAdd( $key, $value, $exptime = 0, $flags = 0 ) { return true; } public function incr( $key, $value = 1, $flags = 0 ) { return false; } public function decr( $key, $value = 1, $flags = 0 ) { return false; } protected function doIncrWithInit( $key, $exptime, $step, $init, $flags ) { return $init; // faster } public function merge( $key, callable $callback, $exptime = 0, $attempts = 10, $flags = 0 ) { return true; // faster } public function makeKeyInternal( $keyspace, $components ) { return $this->genericKeyFromComponents( $keyspace, ...$components ); } protected function convertGenericKey( $key ) { return $key; // short-circuit; already uses "generic" keys } }