org.smallmind.quorum.pool.connection
Class ConnectionPin<C>

java.lang.Object
  extended by org.smallmind.quorum.pool.connection.ConnectionPin<C>

public class ConnectionPin<C>
extends Object


Constructor Summary
protected ConnectionPin(ConnectionPool<C> connectionPool, DeconstructionQueue deconstructionQueue, ConnectionInstance<C> connectionInstance)
           
 
Method Summary
protected  void fizzle()
           
protected  void free()
           
protected  ConnectionInstance<C> getConnectionInstance()
           
 StackTraceElement[] getExistentialStackTrace()
           
protected  boolean isTerminated()
           
protected  void kaboom(boolean withPrejudice)
           
protected  C serve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionPin

protected ConnectionPin(ConnectionPool<C> connectionPool,
                        DeconstructionQueue deconstructionQueue,
                        ConnectionInstance<C> connectionInstance)
Method Detail

getConnectionInstance

protected ConnectionInstance<C> getConnectionInstance()

serve

protected C serve()
           throws Exception
Throws:
Exception

free

protected void free()

isTerminated

protected boolean isTerminated()

fizzle

protected void fizzle()

kaboom

protected void kaboom(boolean withPrejudice)

getExistentialStackTrace

public StackTraceElement[] getExistentialStackTrace()


Copyright © 2012. All Rights Reserved.