On Monday, October 20, 2014 4:57:54 PM UTC-7, Jens Alfke wrote:
>
>
> If you need this functionality, can't you just keep track of which 
> CBLDatabases you've accessed? 
>

It's possible, but much more convenient for us to just query the 
CBLManager.  We can have many databases open and being accessed over 
various components of our app.  In many cases, we currently get what we 
need from a particular database, and then let it go out of scope - i.e. we 
do not track the database.  For us to start tracking the databases we've 
accessed would be a duplication of effort, since the CBLManager already 
does this.

If you'll recall, we are the team that requested the public CBLDatabase 
"close" method, so that we could recover the memory allocated for specific 
databases we no longer needed access to.  CBLManager allOpenDatabases seems 
to compliment CBLDatabase close, so it would make sense (to us) for both of 
these to be public.

Thanks,
-Todd

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/e3c3abdb-ec4d-43de-a369-0bfb8d2c47fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to