AppserverIo\Appserver\MessageQueue\MessageQueue::uniqueWorkerName PHP 메소드

uniqueWorkerName() 보호된 메소드

Creates a unique name to register the worker with the passed priority.
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);
    }