Java Doc for AbstractIoService.java in  » Net » mina-2.0.0-M1 » org » apache » mina » common » 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 » Net » mina 2.0.0 M1 » org.apache.mina.common 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.mina.common.AbstractIoService

All known Subclasses:   org.apache.mina.common.AbstractIoAcceptor,  org.apache.mina.common.AbstractIoConnector,
AbstractIoService
abstract public class AbstractIoService implements IoService(Code)
Base implementation of IoService s.
author:
   The Apache MINA Project (dev@mina.apache.org)
version:
   $Rev: 607163 $, $Date: 2007-12-27 20:20:07 -0700 (Thu, 27 Dec 2007) $

Inner Class :protected static class ServiceOperationFuture extends DefaultIoFuture


Constructor Summary
protected  AbstractIoService(IoSessionConfig sessionConfig)
    

Method Summary
final public  voidaddListener(IoServiceListener listener)
    
final public  Set<WriteFuture>broadcast(Object message)
    
final protected  voiddecreaseScheduledWriteMessages()
    
final public  voiddispose()
    
abstract protected  IoFuturedispose0()
     Implement this method to release any acquired resources.
final protected  voidfinishSessionInitialization(IoSession session, IoFuture future, IoSessionInitializer sessionInitializer)
    
protected  voidfinishSessionInitialization0(IoSession session, IoFuture future)
     Implement this method to perform additional tasks required for session initialization.
final public  longgetActivationTime()
    
final public  intgetBothIdleCount()
    
final public  intgetBothIdleTime()
    
final public  longgetBothIdleTimeInMillis()
    
final public  longgetCumulativeManagedSessionCount()
    
final public  DefaultIoFilterChainBuildergetFilterChain()
    
final public  IoFilterChainBuildergetFilterChainBuilder()
    
final public  IoHandlergetHandler()
    
final public  intgetIdleCount(IdleStatus status)
    
final public  intgetIdleTime(IdleStatus status)
    
final public  longgetIdleTimeInMillis(IdleStatus status)
    
final public  intgetLargestManagedSessionCount()
    
final public  doublegetLargestReadBytesThroughput()
    
final public  doublegetLargestReadMessagesThroughput()
    
final public  doublegetLargestWrittenBytesThroughput()
    
final public  doublegetLargestWrittenMessagesThroughput()
    
final public  longgetLastBothIdleTime()
    
final public  longgetLastIdleTime(IdleStatus status)
    
final public  longgetLastIoTime()
    
final public  longgetLastReadTime()
    
final public  longgetLastReaderIdleTime()
    
final public  longgetLastWriteTime()
    
final public  longgetLastWriterIdleTime()
    
final protected  IoServiceListenerSupportgetListeners()
    
final public  intgetManagedSessionCount()
    
final public  Set<IoSession>getManagedSessions()
    
final public  longgetReadBytes()
    
final public  doublegetReadBytesThroughput()
    
final public  longgetReadMessages()
    
final public  doublegetReadMessagesThroughput()
    
final public  intgetReaderIdleCount()
    
final public  intgetReaderIdleTime()
    
final public  longgetReaderIdleTimeInMillis()
    
final public  longgetScheduledWriteBytes()
    
final public  longgetScheduledWriteMessages()
    
public  IoSessionConfiggetSessionConfig()
    
final public  IoSessionDataStructureFactorygetSessionDataStructureFactory()
    
final public  intgetThroughputCalculationInterval()
    
final public  longgetThroughputCalculationIntervalInMillis()
    
final public  intgetWriterIdleCount()
    
final public  intgetWriterIdleTime()
    
final public  longgetWriterIdleTimeInMillis()
    
final public  longgetWrittenBytes()
    
final public  doublegetWrittenBytesThroughput()
    
final public  longgetWrittenMessages()
    
final public  doublegetWrittenMessagesThroughput()
    
final protected  voidincreaseReadBytes(long increment, long currentTime)
    
final protected  voidincreaseReadMessages(long currentTime)
    
final protected  voidincreaseScheduledWriteBytes(long increment)
    
final protected  voidincreaseScheduledWriteMessages()
    
final protected  voidincreaseWrittenBytes(long increment, long currentTime)
    
final protected  voidincreaseWrittenMessages(long currentTime)
    
final public  booleanisActive()
    
final public  booleanisBothIdle()
    
final public  booleanisDisposed()
    
final public  booleanisDisposing()
    
final public  booleanisIdle(IdleStatus status)
    
final public  booleanisReaderIdle()
    
final public  booleanisWriterIdle()
    
final protected  voidnotifyIdleness(long currentTime)
    
final public  voidremoveListener(IoServiceListener listener)
    
final public  voidsetBothIdleTime(int idleTime)
    
final public  voidsetFilterChainBuilder(IoFilterChainBuilder builder)
    
final public  voidsetHandler(IoHandler handler)
    
final public  voidsetIdleTime(IdleStatus status, int idleTime)
    
final protected  voidsetLastReadTime(long lastReadTime)
    
final protected  voidsetLastWriteTime(long lastWriteTime)
    
final public  voidsetReaderIdleTime(int idleTime)
    
final public  voidsetSessionDataStructureFactory(IoSessionDataStructureFactory sessionDataStructureFactory)
    
final public  voidsetThroughputCalculationInterval(int throughputCalculationInterval)
    
final public  voidsetWriterIdleTime(int idleTime)
    


Constructor Detail
AbstractIoService
protected AbstractIoService(IoSessionConfig sessionConfig)(Code)




Method Detail
addListener
final public void addListener(IoServiceListener listener)(Code)



broadcast
final public Set<WriteFuture> broadcast(Object message)(Code)



decreaseScheduledWriteMessages
final protected void decreaseScheduledWriteMessages()(Code)



dispose
final public void dispose()(Code)



dispose0
abstract protected IoFuture dispose0() throws Exception(Code)
Implement this method to release any acquired resources. This method is invoked only once by AbstractIoService.dispose() .



finishSessionInitialization
final protected void finishSessionInitialization(IoSession session, IoFuture future, IoSessionInitializer sessionInitializer)(Code)



finishSessionInitialization0
protected void finishSessionInitialization0(IoSession session, IoFuture future)(Code)
Implement this method to perform additional tasks required for session initialization. Do not call this method directly; AbstractIoService.finishSessionInitialization(IoSession,IoFuture,IoSessionInitializer) will call this method instead.



getActivationTime
final public long getActivationTime()(Code)



getBothIdleCount
final public int getBothIdleCount()(Code)



getBothIdleTime
final public int getBothIdleTime()(Code)



getBothIdleTimeInMillis
final public long getBothIdleTimeInMillis()(Code)



getCumulativeManagedSessionCount
final public long getCumulativeManagedSessionCount()(Code)



getFilterChain
final public DefaultIoFilterChainBuilder getFilterChain()(Code)



getFilterChainBuilder
final public IoFilterChainBuilder getFilterChainBuilder()(Code)



getHandler
final public IoHandler getHandler()(Code)



getIdleCount
final public int getIdleCount(IdleStatus status)(Code)



getIdleTime
final public int getIdleTime(IdleStatus status)(Code)



getIdleTimeInMillis
final public long getIdleTimeInMillis(IdleStatus status)(Code)



getLargestManagedSessionCount
final public int getLargestManagedSessionCount()(Code)



getLargestReadBytesThroughput
final public double getLargestReadBytesThroughput()(Code)



getLargestReadMessagesThroughput
final public double getLargestReadMessagesThroughput()(Code)



getLargestWrittenBytesThroughput
final public double getLargestWrittenBytesThroughput()(Code)



getLargestWrittenMessagesThroughput
final public double getLargestWrittenMessagesThroughput()(Code)



getLastBothIdleTime
final public long getLastBothIdleTime()(Code)



getLastIdleTime
final public long getLastIdleTime(IdleStatus status)(Code)



getLastIoTime
final public long getLastIoTime()(Code)



getLastReadTime
final public long getLastReadTime()(Code)



getLastReaderIdleTime
final public long getLastReaderIdleTime()(Code)



getLastWriteTime
final public long getLastWriteTime()(Code)



getLastWriterIdleTime
final public long getLastWriterIdleTime()(Code)



getListeners
final protected IoServiceListenerSupport getListeners()(Code)



getManagedSessionCount
final public int getManagedSessionCount()(Code)



getManagedSessions
final public Set<IoSession> getManagedSessions()(Code)



getReadBytes
final public long getReadBytes()(Code)



getReadBytesThroughput
final public double getReadBytesThroughput()(Code)



getReadMessages
final public long getReadMessages()(Code)



getReadMessagesThroughput
final public double getReadMessagesThroughput()(Code)



getReaderIdleCount
final public int getReaderIdleCount()(Code)



getReaderIdleTime
final public int getReaderIdleTime()(Code)



getReaderIdleTimeInMillis
final public long getReaderIdleTimeInMillis()(Code)



getScheduledWriteBytes
final public long getScheduledWriteBytes()(Code)



getScheduledWriteMessages
final public long getScheduledWriteMessages()(Code)



getSessionConfig
public IoSessionConfig getSessionConfig()(Code)



getSessionDataStructureFactory
final public IoSessionDataStructureFactory getSessionDataStructureFactory()(Code)



getThroughputCalculationInterval
final public int getThroughputCalculationInterval()(Code)



getThroughputCalculationIntervalInMillis
final public long getThroughputCalculationIntervalInMillis()(Code)



getWriterIdleCount
final public int getWriterIdleCount()(Code)



getWriterIdleTime
final public int getWriterIdleTime()(Code)



getWriterIdleTimeInMillis
final public long getWriterIdleTimeInMillis()(Code)



getWrittenBytes
final public long getWrittenBytes()(Code)



getWrittenBytesThroughput
final public double getWrittenBytesThroughput()(Code)



getWrittenMessages
final public long getWrittenMessages()(Code)



getWrittenMessagesThroughput
final public double getWrittenMessagesThroughput()(Code)



increaseReadBytes
final protected void increaseReadBytes(long increment, long currentTime)(Code)



increaseReadMessages
final protected void increaseReadMessages(long currentTime)(Code)



increaseScheduledWriteBytes
final protected void increaseScheduledWriteBytes(long increment)(Code)



increaseScheduledWriteMessages
final protected void increaseScheduledWriteMessages()(Code)



increaseWrittenBytes
final protected void increaseWrittenBytes(long increment, long currentTime)(Code)



increaseWrittenMessages
final protected void increaseWrittenMessages(long currentTime)(Code)



isActive
final public boolean isActive()(Code)



isBothIdle
final public boolean isBothIdle()(Code)



isDisposed
final public boolean isDisposed()(Code)



isDisposing
final public boolean isDisposing()(Code)



isIdle
final public boolean isIdle(IdleStatus status)(Code)



isReaderIdle
final public boolean isReaderIdle()(Code)



isWriterIdle
final public boolean isWriterIdle()(Code)



notifyIdleness
final protected void notifyIdleness(long currentTime)(Code)



removeListener
final public void removeListener(IoServiceListener listener)(Code)



setBothIdleTime
final public void setBothIdleTime(int idleTime)(Code)



setFilterChainBuilder
final public void setFilterChainBuilder(IoFilterChainBuilder builder)(Code)



setHandler
final public void setHandler(IoHandler handler)(Code)



setIdleTime
final public void setIdleTime(IdleStatus status, int idleTime)(Code)



setLastReadTime
final protected void setLastReadTime(long lastReadTime)(Code)



setLastWriteTime
final protected void setLastWriteTime(long lastWriteTime)(Code)



setReaderIdleTime
final public void setReaderIdleTime(int idleTime)(Code)



setSessionDataStructureFactory
final public void setSessionDataStructureFactory(IoSessionDataStructureFactory sessionDataStructureFactory)(Code)



setThroughputCalculationInterval
final public void setThroughputCalculationInterval(int throughputCalculationInterval)(Code)



setWriterIdleTime
final public void setWriterIdleTime(int idleTime)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.