SlideServe
Menu
Préférences
© SlideServe · v2026

Multithreading in Stockbroker Applications: Efficient Data Handling

dara-williams avatar
12 diapositives · 241 Views · Nov 06, 2014

In modern stockbroker applications, managing multiple tasks simultaneously is crucial for timely decisions. A typical scenario includes functions like downloading stock options, checking prices for alerts, and analyzing historical data. In a single-threaded environment, these tasks must occur sequentially, leading to delays that can significantly impact trading opportunities. This chapter discusses the concept of threads, their operations, lifecycle, and how to implement them using the Runnable interface and Java's Thread class, showcasing how multithreading enhances performance and user experience.

Multithreading in Stockbroker Applications: Efficient Data Handling - slide 1
01 / 12Multithreading in Stockbroker Applications: Efficient Data Handling
1 / 17

Télécharger la présentation

Multithreading in Stockbroker Applications: Efficient Data Handling
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. THREADS Read from SCJP Book Chapter on Threads Uploaded on Wikispaces

  2. Typical Scenario • Imagine a stockbroker application with a lot of complex capabilities. One of its functions is "download last stock option prices," another is "check prices for warnings," and a third time-consuming operation is "analyze historical data for company XYZ.“ • In a single-threaded runtime environment, these actions execute one after another. The next action can happen only when the previous one is finished. If a historical analysis takes half an hour, and the user selects to perform a download and check afterward, the warning may come too late to, say, buy or sell stock as a result. • We just imagined the sort of application that cries out for multithreading.

  3. What are Threads ?

  4. What are Threads?

  5. Thread Operations

  6. Thread Life cycle

  7. Thread Class

  8. Using the Runnable Interface

  9. Creating a Thread

  10. Example

  11. Subclassing Thread

  12. Java.lang.Thread