$this->name, 'groupName' => $this->groupName, 'clusters' => $this->clusters, 'cacheMillis' => $this->cacheMillis, 'hosts' => $this->hosts, 'lastRefTime' => $this->lastRefTime, 'checksum' => $this->checksum, 'allIPs' => $this->allIPs, 'reachProtectionThreshold' => $this->reachProtectionThreshold, 'valid' => $this->valid, ]; } public function toKeyString(): string { return self::getKeyString($this->clusters, $this->groupName, $this->name); } public static function getKeyString(string $clusters, string $group, string $service): string { return sprintf('%s#%s@@%s', $clusters, $group, $service); } }