// InstanceDomainCount returns the number of instance domains in the registry
InstanceDomainCount returns the number of instance domains in the registry
// InstanceDomainCount returns the number of instance domains in the registry
func (r *PCPRegistry) InstanceDomainCount() int {
	r.indomlock.RLock()
	defer r.indomlock.RUnlock()
	return len(r.instanceDomains)
}
func ( r * PCPRegistry ) InstanceDomainCount ( ) int { r . indomlock . RLock ( ) defer r . indomlock . RUnlock ( ) return len ( r . instanceDomains ) }
InstanceDomainCount returns the number of instance domains in the registry
InstanceDomainCount returns the number of instance domains in the registry