snapshot

Returns the state of every registered tree. Reads root names under each tree's lock, so use countByState for frequent sampling.