Thread pool size self-adapting regulating method and concurrency control method applying server
An application server and self-adaptive adjustment technology, applied in the direction of multi-program devices, etc., can solve problems such as the difficulty of system expansion, and achieve the effects of improving system flexibility, simplifying management and configuration, and optimizing performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] The present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.
[0042] This embodiment proposes a non-intrusive, adaptive application server concurrency control method. As the use environment of the method of this embodiment, the application server adopts a simple Java application server, and its sample code content is as shown in code 1:
[0043] Code 1:
[0044] 1 class SimpleServer{
[0045] 2 public void handleSocket(Sockets{
[0046] 3 InputStream in = s.getInputStream();
[0047] 4 ... / / handle socket connection
[0048] 5}
[0049] 6 public void serverStart(){
[0050] 7 socket = serverSocket. accept();
[0051] 8 handleSocket(socket);
[0052] 9 }
[0053] 10}
[0054] In the above code 1, the SimpleServer class implements a simple Java application server to handle the client's Socket connection, which includes a server startup method (lines 6-9) to start the application server, and a Socke...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com