Add methods to get the set of powerdomains.

Returns a Set<Long> of all the available power domains.