Java Doc for RandomConnector.java in » Sevlet-Container » jetty-modules » org » mortbay » jetty » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Sevlet Container
»
jetty modules
»
org.mortbay.jetty
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.mortbay.jetty
.AbstractBuffers
org.mortbay.jetty
.AbstractConnector
org.mortbay.jetty.nio
.AbstractNIOConnector
org.mortbay.jetty
.RandomConnector
RandomConnector
public
class RandomConnector extends
AbstractNIOConnector
(Code)
author:
gregw
Inner Class :
public
static class RandomEndPoint extends
ChannelEndPoint
implements
EndPoint
,
Runnable
Inner Class :
public
static class HelloServlet extends
HttpServlet
Field Summary
static
Random
random
static int
rate
Constructor Summary
public
RandomConnector
()
Constructor.
Method Summary
public
void
accept
(int acceptorID)
public
void
close
()
public
void
customize
(
EndPoint
endpoint,
Request
request)
protected
void
doStart
()
protected
void
doStop
()
public
Object
getConnection
()
public
int
getLocalPort
()
public
static void
main
(
String
[] arg)
public
void
open
()
Field Detail
random
static
Random
random
(Code)
rate
static int rate
(Code)
Constructor Detail
RandomConnector
public
RandomConnector()
(Code)
Constructor.
Method Detail
accept
public
void accept(int acceptorID) throws
IOException
(Code)
close
public
void close() throws
IOException
(Code)
customize
public
void customize(
EndPoint
endpoint,
Request
request) throws
IOException
(Code)
doStart
protected
void doStart() throws
Exception
(Code)
doStop
protected
void doStop() throws
Exception
(Code)
getConnection
public
Object
getConnection()
(Code)
getLocalPort
public
int getLocalPort()
(Code)
main
public
static void main(
String
[] arg) throws
Exception
(Code)
open
public
void open() throws
IOException
(Code)
Methods inherited from
org.mortbay.jetty.nio.AbstractNIOConnector
public
boolean getUseDirectBuffers()
(Code)
(Java Doc)
protected
Buffer
newBuffer(int size)
(Code)
(Java Doc)
public
void setUseDirectBuffers(boolean direct)
(Code)
(Java Doc)
Fields inherited from
org.mortbay.jetty.AbstractConnector
transient int _connections
(Code)
(Java Doc)
transient long _connectionsDurationMax
(Code)
(Java Doc)
transient long _connectionsDurationMin
(Code)
(Java Doc)
transient long _connectionsDurationTotal
(Code)
(Java Doc)
transient int _connectionsOpen
(Code)
(Java Doc)
transient int _connectionsOpenMax
(Code)
(Java Doc)
transient int _connectionsOpenMin
(Code)
(Java Doc)
transient int _connectionsRequestsMax
(Code)
(Java Doc)
transient int _connectionsRequestsMin
(Code)
(Java Doc)
protected
int _lowResourceMaxIdleTime
(Code)
(Java Doc)
protected
int _maxIdleTime
(Code)
(Java Doc)
transient int _requests
(Code)
(Java Doc)
protected
int _soLingerTime
(Code)
(Java Doc)
Object
_statsLock
(Code)
(Java Doc)
transient long _statsStartedAt
(Code)
(Java Doc)
Methods inherited from
org.mortbay.jetty.AbstractConnector
abstract
protected
void accept(int acceptorID) throws
IOException
,
InterruptedException
(Code)
(Java Doc)
protected
void configure(
Socket
socket) throws
IOException
(Code)
(Java Doc)
protected
void connectionClosed(
HttpConnection
connection)
(Code)
(Java Doc)
protected
void connectionOpened(
HttpConnection
connection)
(Code)
(Java Doc)
public
void customize(
EndPoint
endpoint,
Request
request) throws
IOException
(Code)
(Java Doc)
protected
void doStart() throws
Exception
(Code)
(Java Doc)
protected
void doStop() throws
Exception
(Code)
(Java Doc)
public
int getAcceptQueueSize()
(Code)
(Java Doc)
public
int getAcceptors()
(Code)
(Java Doc)
public
int getConfidentialPort()
(Code)
(Java Doc)
public
String
getConfidentialScheme()
(Code)
(Java Doc)
public
int getConnections()
(Code)
(Java Doc)
public
long getConnectionsDurationAve()
(Code)
(Java Doc)
public
long getConnectionsDurationMax()
(Code)
(Java Doc)
public
long getConnectionsDurationMin()
(Code)
(Java Doc)
public
long getConnectionsDurationTotal()
(Code)
(Java Doc)
public
int getConnectionsOpen()
(Code)
(Java Doc)
public
int getConnectionsOpenMax()
(Code)
(Java Doc)
public
int getConnectionsOpenMin()
(Code)
(Java Doc)
public
int getConnectionsRequestsAve()
(Code)
(Java Doc)
public
int getConnectionsRequestsMax()
(Code)
(Java Doc)
public
int getConnectionsRequestsMin()
(Code)
(Java Doc)
public
String
getHost()
(Code)
(Java Doc)
public
int getIntegralPort()
(Code)
(Java Doc)
public
String
getIntegralScheme()
(Code)
(Java Doc)
public
int getLowResourceMaxIdleTime()
(Code)
(Java Doc)
public
int getMaxIdleTime()
(Code)
(Java Doc)
public
String
getName()
(Code)
(Java Doc)
public
int getPort()
(Code)
(Java Doc)
public
int getRequests()
(Code)
(Java Doc)
public
boolean getResolveNames()
(Code)
(Java Doc)
public
Server
getServer()
(Code)
(Java Doc)
public
long getSoLingerTime()
(Code)
(Java Doc)
public
boolean getStatsOn()
(Code)
(Java Doc)
public
long getStatsOnMs()
(Code)
(Java Doc)
public
ThreadPool
getThreadPool()
(Code)
(Java Doc)
public
boolean isConfidential(
Request
request)
(Code)
(Java Doc)
public
boolean isIntegral(
Request
request)
(Code)
(Java Doc)
public
void join() throws
InterruptedException
(Code)
(Java Doc)
public
Continuation
newContinuation()
(Code)
(Java Doc)
abstract
public
void open() throws
IOException
(Code)
(Java Doc)
public
void persist(
EndPoint
endpoint) throws
IOException
(Code)
(Java Doc)
public
void setAcceptQueueSize(int acceptQueueSize)
(Code)
(Java Doc)
public
void setAcceptors(int acceptors)
(Code)
(Java Doc)
public
void setConfidentialPort(int confidentialPort)
(Code)
(Java Doc)
public
void setConfidentialScheme(
String
confidentialScheme)
(Code)
(Java Doc)
public
void setHost(
String
host)
(Code)
(Java Doc)
public
void setIntegralPort(int integralPort)
(Code)
(Java Doc)
public
void setIntegralScheme(
String
integralScheme)
(Code)
(Java Doc)
public
void setLowResourceMaxIdleTime(int maxIdleTime)
(Code)
(Java Doc)
public
void setMaxIdleTime(int maxIdleTime)
(Code)
(Java Doc)
public
void setName(
String
name)
(Code)
(Java Doc)
public
void setPort(int port)
(Code)
(Java Doc)
public
void setResolveNames(boolean resolve)
(Code)
(Java Doc)
public
void setServer(
Server
server)
(Code)
(Java Doc)
public
void setSoLingerTime(int soLingerTime)
(Code)
(Java Doc)
public
void setStatsOn(boolean on)
(Code)
(Java Doc)
public
void setThreadPool(
ThreadPool
pool)
(Code)
(Java Doc)
public
void statsReset()
(Code)
(Java Doc)
public
void stopAccept(int acceptorID) throws
Exception
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
Methods inherited from
org.mortbay.jetty.AbstractBuffers
protected
void doStart() throws
Exception
(Code)
(Java Doc)
public
Buffer
getBuffer(int size)
(Code)
(Java Doc)
public
int getHeaderBufferSize()
(Code)
(Java Doc)
public
int getRequestBufferSize()
(Code)
(Java Doc)
public
int getResponseBufferSize()
(Code)
(Java Doc)
abstract
protected
Buffer
newBuffer(int size)
(Code)
(Java Doc)
public
void returnBuffer(
Buffer
buffer)
(Code)
(Java Doc)
public
void setHeaderBufferSize(int headerBufferSize)
(Code)
(Java Doc)
public
void setRequestBufferSize(int requestBufferSize)
(Code)
(Java Doc)
public
void setResponseBufferSize(int responseBufferSize)
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.