Couchbase adapter for a subset of data, accomplished by prefixing keys.
Couchbase supports multiple buckets. However, there's no overarching "server"
that can flush all the buckets (apart from looping all of them)
It may also not be possible to get into another bucket: they may have
And it's less trivial to "create" a new bucket. It could be done (although
not from the
CouchbaseBucket we have in the adapter), but needs config.
I'll implement collections similar to how they've been implemented for Memcached: prefix keys & a reference value that can be changed to "flush" the cache. If people want multiple different buckets, they can easily create multiple Couchbase adapter objects.
- MatthiasMullie\Scrapbook\Adapters\Collections\Utils\PrefixKeys implements MatthiasMullie\Scrapbook\KeyValueStore
Copyright: Copyright (c) 2014, Matthias Mullie. All rights reserved
Author: Matthias Mullie email@example.com
Located at Adapters/Collections/Couchbase.php