class ConnectionHandle implements Connection,Serializable {

	public String toString(){

		long timeMillis = System.currentTimeMillis();

		return Objects.toStringHelper(this)
				.add("url", this.pool.getConfig().getJdbcUrl())
				.add("user", this.pool.getConfig().getUsername())
				.add("debugHandle", this.debugHandle)
				.add("lastResetAgoInSec", TimeUnit.MILLISECONDS.toSeconds(timeMillis-this.connectionLastResetInMs))
				.add("lastUsedAgoInSec", TimeUnit.MILLISECONDS.toSeconds(timeMillis-this.connectionLastUsedInMs))
				.add("creationTimeAgoInSec", TimeUnit.MILLISECONDS.toSeconds(timeMillis-this.connectionCreationTimeInMs))
				.toString();
	}

	protected  ConnectionHandle(Connection connection, ConnectionPartition partition, BoneCP pool, boolean recreating);
	private  ConnectionHandle();

}