It's all about the answers!

Ask a question

Is the pure java client thread-safe?


Pradyumna Achar (1624) | asked Sep 11 '12, 12:24 p.m.
edited Sep 11 '12, 12:26 p.m.
Is the pure java client thread-safe?
For instance, if I do the following, is it safe and supported?
public static void main(String[] args) {
         TeamPlatform.startup();
         login(monitor);
         //spawn multiple threads now, which get hold of the repository service TeamPlatform.getTeamRepositoryService().getTeamRepository(...)
         // and do various operations such as updating work items, creating new ones, downloading attachments etc
         //the main thread waits until the spawned threads die, and then does a TeamPlatform.shutdown();
 }
Regards,
Pradyumna

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Apr 16 '15, 5:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See: https://jazz.net/forum/questions/178851/is-the-pure-java-client-thread-safe

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.