protected uniqueWorkerName ( AppserverIo\Psr\Pms\PriorityKeyInterface $priorityKey ) : string | ||
$priorityKey | AppserverIo\Psr\Pms\PriorityKeyInterface | The priority key to create a unique name for |
리턴 | string | The unique name |
protected function uniqueWorkerName(PriorityKeyInterface $priorityKey)
{
return sprintf('%s-%s', $this->getName(), $priorityKey);
}