final String password = pass == null ? "" : pass;
final List<Transcoder<? extends Document, ?>> trans = transcoders == null
? new ArrayList<Transcoder<? extends Document, ?>>() : transcoders;
return core
.send(new OpenBucketRequest(name, password))
.map(new Func1<CouchbaseResponse, AsyncBucket>() {
@Override
public AsyncBucket call(CouchbaseResponse response) {
if (response.status() != ResponseStatus.SUCCESS) {
throw new CouchbaseException("Could not open bucket.");