Review code and give me best Java code solution. Threads/Concurrencies/Locks

I have some problem with threading,concurreny and locks. It is only in a class.

The logic-> to stream prices with websocket and compare market price with my price, if true -> send an order to the exchange . While I am sending buy order to exchange, I want to restart/update my socket/thread and remove all other waiting threads.

I have tried Synchronized,locks,boolean var, [login to view URL]

please se attached files

Compétences : Java, Java Technical Architecture, Java ME, Object Oriented Programming (OOP), Programmation

Concernant le client :
( 0 commentaires ) Malmö, Sweden

Nº du projet : #32824629

7 freelances font une offre moyenne de 44 $ pour ce travail


Hi Nice to meet you. I have read your job carefully and I'm very confident about your job. As a talented application developer, I have much experience with JAVA for more than 10+ years. If you give me a chance to chat Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(15 Commentaires)

Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA,C, C++, C#, Python, .NET , MYSQL, SQL, IONIC , MATLAB,PHP and ARDUINO. I am very confident with my skills and I'd like to help your bu Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(30 Commentaires)

Hi! Thank your posting "Review code and give me best Java code solution. Threads/Concurrencies/Locks ". i understand your requirement. I have 7+ years of work experience in Java, Spring Boot, Spring JPA, J2EE, Core ph Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(7 Commentaires)

Dear client. I am Aleksandr Korshun. I have many experiences on this project. I will do your project perfectly. https://www.freelancer.com/u/AleksandrKorshun Please hire me directly. Thanks.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2 Commentaires)

Hi, Dear! I have a full experiences and knowledge in Thread, Synchronization in java... I am confident to provide you best solution in time with reasonable budget. I can start Your work right now... And I will do my be Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2 Commentaires)

Hello, Please send me your code to check it cause I am interested in your project I've +5 years of experience in java development, you can check my Github repository and contact me if you like my work My Github repo: h Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2 Commentaires)

Hi, I am interested in this project and I am excellent Java developer. Have 8 years of experience in Java. Great problem solving skills. Thanks,

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)