Class ReplicationConnectionProxy

java.lang.Object
com.mysql.jdbc.MultiHostConnectionProxy
com.mysql.jdbc.ReplicationConnectionProxy
All Implemented Interfaces:
PingTarget, InvocationHandler

public class ReplicationConnectionProxy extends MultiHostConnectionProxy implements PingTarget
Connection that opens two connections, one two a replication master, and another to one or more slaves, and decides to use master when the connection is not read-only, and use slave(s) when the connection is read-only.