com.alibaba.otter.shared.communication.core.impl.connection
类 CommunicationConnectionPoolable

java.lang.Object
  继承者 com.alibaba.otter.shared.communication.core.impl.connection.CommunicationConnectionPoolable
所有已实现的接口:
CommunicationConnection

public class CommunicationConnectionPoolable
extends Object
implements CommunicationConnection

可被链接池管理的对象, @see CommunicationConnectionPoolableFactory

作者:
jianghang 2011-9-9 下午05:01:14

构造方法摘要
CommunicationConnectionPoolable(CommunicationConnection connection, CommunicationConnectionPoolFactory pool)
           
 
方法摘要
 Object call(Event event)
           
 void close()
           
 CommunicationConnection getDelegate()
           
 CommunicationParam getParams()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CommunicationConnectionPoolable

public CommunicationConnectionPoolable(CommunicationConnection connection,
                                       CommunicationConnectionPoolFactory pool)
方法详细信息

call

public Object call(Event event)
指定者:
接口 CommunicationConnection 中的 call

close

public void close()
           throws CommunicationException
指定者:
接口 CommunicationConnection 中的 close
抛出:
CommunicationException

getParams

public CommunicationParam getParams()
指定者:
接口 CommunicationConnection 中的 getParams

getDelegate

public CommunicationConnection getDelegate()
返回:
返回原始connection对象


Copyright © 2011–2014 alibaba. All rights reserved.