View definition

func TokenAwareHostPolicy

Defined in github.com/gocql/gocql/policies.go

Description

TokenAwareHostPolicy is a token aware host selection policy, where hosts are selected based on the partition key, so queries are sent to the host which owns the partition. Fallback is used when routing information is not available.

TokenAwareHostPolicy is referenced in 3 repositories

github.com/gocql/gocql

...