com.oy.shared.lw.samples.mysqlrepl
Interface MySqlReplConnectionPool

All Known Implementing Classes:
MySqlReplConnectionPool.DefaultConnectionPool

public interface MySqlReplConnectionPool


Nested Class Summary
static class MySqlReplConnectionPool.DefaultConnectionPool
           
 
Method Summary
 java.sql.Connection borrowToMaster()
           
 java.sql.Connection borrowToSlave()
           
 void releaseToMaster(java.sql.Connection conn)
           
 void releaseToSlave(java.sql.Connection conn)
           
 

Method Detail

borrowToMaster

public java.sql.Connection borrowToMaster()
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

borrowToSlave

public java.sql.Connection borrowToSlave()
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

releaseToMaster

public void releaseToMaster(java.sql.Connection conn)

releaseToSlave

public void releaseToSlave(java.sql.Connection conn)


Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com