setHandlerPriority and setTouchPriority

I’m experimenting with touch priorities for CCMenu and CCLayer. Could someone tell my what is the purpose of setTouchPriority() method because it seems to have no effect at all. If I change CCMenu priority with setHandlerPriority method then I can see that touch events are coming as expected (first are comming events for objects with lower priority). But when i change CCMenu priority with setTouchPriority then it seems to do nothing. Also I can see effect when setting priority on Layer with CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this, –1000, true); but I can’t see any effect when using setTouchPrioirity method of the same Layer. So I’m confused what setTouchPriority() is actually doing? Is this method deprecated or something?