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?
Pradyumna
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