Default cluster implementation.

See Also:

Implements

Methods

Dse\Session

connect

( string $keyspace, int $timeout )

Creates a new Dse\Session instance.

Parameters:
Name Type Details
$keyspace string

Optional keyspace name

$timeout int

Optional timeout

Returns:
Type Details
Dse\Session

Dse\Session instance

Dse\Future

connectAsync

( string $keyspace )

Creates a new Dse\Session instance.

Parameters:
Name Type Details
$keyspace string

Optional keyspace name

Returns:
Type Details
Dse\Future

A Dse\Future Dse\Session instance