Default cluster implementation.

See Also:

Implements

Methods

Cassandra\Session

connect

( string $keyspace, int $timeout )

Creates a new Cassandra\Session instance.

Parameters:
Name Type Details
$keyspace string

Optional keyspace name

$timeout int

Optional timeout

Returns:
Type Details
Cassandra\Session

Cassandra\Session instance

Cassandra\Future

connectAsync

( string $keyspace )

Creates a new Cassandra\Session instance.

Parameters:
Name Type Details
$keyspace string

Optional keyspace name

Returns:
Type Details
Cassandra\Future

A Cassandra\Future Cassandra\Session instance