Project

General

Profile

Story #7635

thread-safety in libclient_java

Added by Rob Nahf about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_libclient_java
Target version:
Start date:
2016-02-03
Due date:
% Done:

100%

Story Points:
Sprint:

Description

Synchronization problems revealed a synchronization issues in libclient_java that heavily impacted synchronization (see #7631)

mostly we want to remove the synchronized keywords from two methods in RestClient to allow the static RestClient used by default by D1Client impls to process more than one request in parallel.

We also need to adjust the singleton instantiation mechanism of the D1Client classes. (http://stackoverflow.com/questions/7048198/thread-safe-singletons-in-java)


Subtasks

Task #7636: make singletons thread-safeClosedRob Nahf

Task #7633: refactor libclient to remove synchronized from the 2 key methodsClosedRob Nahf

Task #7638: deprecate the RestClient header methodsClosedRob Nahf

Associated revisions

Revision 17531
Added by Rob Nahf about 8 years ago

fixes #7546, refs #7635, #7536. Refactored ObjectFormatCache to be thread safe, and not dependent on the shipped ObjectFormatList file. Refactored getInstance methods of CertificateManager and ObjectFormatCache for thread safety. Removed unnecessary dependency on a live CN in d1client.properties.

Revision 17531
Added by Rob Nahf about 8 years ago

fixes #7546, refs #7635, #7536. Refactored ObjectFormatCache to be thread safe, and not dependent on the shipped ObjectFormatList file. Refactored getInstance methods of CertificateManager and ObjectFormatCache for thread safety. Removed unnecessary dependency on a live CN in d1client.properties.

History

#1 Updated by Rob Nahf about 8 years ago

  • Tracker changed from Feature to Story

#2 Updated by Rob Nahf about 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

#3 Updated by Dave Vieglais about 8 years ago

  • Target version changed from CCI-2.1.0 to CCI-2.2.0

#4 Updated by Rob Nahf about 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)