Is the pure java client thread-safe?
![]()
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
![]()
Ralph Schoon (62.0k●3●36●43)
| 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
|