Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Servlet::SingleThreadMUser(Contributed Perl DocumServlet::SingleThreadModel(3)

NAME
       Servlet::SingleThreadModel - serialized servlet access interface

SYNOPSIS
DESCRIPTION
       This tagging interface ensures that servlets handle only	one request at
       a time. This interface has no methods.

       If a servlet implements this interface, you are guaranteed that no two
       threads will execute concurrently in the	servlet's "service()" method.
       The servlet container can make this guarantee by	synchronizing access
       to a single instance of the servlet, or by maintaining a	pool of
       servlet instances and dispatching each new request to a free servlet.

       This interface does not prevent synchronization problems	that result
       from servlets accessing shared resources	such as	class variables	or
       classes outside the scope of the	servlet.

       NOTE: No	provisions have	been made for usage of the Servlet API in a
       threaded	environment. This interface is only provided for completeness.

AUTHOR
       Brian Moseley, bcm@maz.org

perl v5.32.0			  2001-07-13	 Servlet::SingleThreadModel(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Servlet::SingleThreadModel&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help