In reply to Ajith Jose:
I think you ought to re-read your original description in you first post and compare it to the level of detail provided in your last post - there is a big difference. And there still are a lot more questions, like how do you decide which sequence to stop or resume?
It still seems to me that you want to start 10 sequences in parallel, each with random priority from a shuffled list of 10 different priorities. The lower priority sequences will be blocked while the higher priority sequences continue to execute. Then at some point the current sequence may get blocked, which would allow the next lower priority sequence to resume.
I suggest you read some of the material below and try coding up something to get yourself started.
This UVM Cookbook article on Stimulus/Signal Wait
Featured Technical Papers from DVCon 2013
Sequence, Sequence on the Wall – Who's the Fairest of Them All?
by Rich Edelman and Raghu Ardeishar, Mentor Graphics Corporation
The reader of this paper is interested to use UVM sequences to achieve his test writing goals. Examples of UVM sequences will be used to demonstrate basic and advanced techniques for creating interesting, reusable sequences and tests.
Seven Separate Sequence Styles Speed Stimulus Scenarios
by Mark Peryer, Mentor Graphics Corporation
Writing effective stimulus in UVM can prove to be challenging for various reasons, but not knowing about the relevant coding design patterns should not be one of them. There are various alternative techniques for writing sequences and choosing the right approach requires mastery of several styles. This paper describes seven common sequence design patterns which should prove useful to all UVM sequence writers. These patterns can be used stand-alone or combined to solve practical stimulus generation problems using UVM sequences.