extend collector public API

Change-Id: I0260561bffa3e2d958de9a5a829763e184a681d3
Reviewed-on: http://review.couchbase.org/27172
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>