public StorageClient getClient() throws ClientPoolException {
        try {
            StorageClient client = (StorageClient) pool.borrowObject();
            LOGGER.debug("Borrowed storage client pool client:" + client);
            return client;
        } catch (Exception e) {
            LOGGER.warn("Failed To Borrow connection from pool {} ",e.getMessage());
            throw new ClientPoolException("Failed To Borrow connection from pool ", e);
        }
    }
public StorageClient getClient ( ) throws ClientPoolException { try { StorageClient client = ( StorageClient ) pool . borrowObject ( ) ; LOGGER . debug ( "Borrowed storage client pool client:" + client ) ; return client ; } catch ( Exception e ) { LOGGER . warn ( "Failed To Borrow connection from pool {} " , e . getMessage ( ) ) ; throw new ClientPoolException ( "Failed To Borrow connection from pool " , e ) ; } }
/*
(non-Javadoc)

@see
org.sakaiproject.nakamura.lite.cassandra.ConnectionPool#openConnection()