Inherits

Extends

  • Forwardable

Methods

self.

new

(wrapped_policy)

Returns a new instance of TokenAware

Parameters:
Name Type Details
wrapped_policy LoadBalancing::Policy actual policy to filter

distance

(host)

Delegates to wrapped policy

See Also:

host_found

(host)

Delegates to wrapped policy

See Also:

host_up

(host)

Delegates to wrapped policy

See Also:

host_down

(host)

Delegates to wrapped policy

See Also:

host_lost

(host)

Delegates to wrapped policy

See Also:

setup

(cluster)
Specifications:
TokenAware#setup sets up wrapped policy
expect(policy).to receive(:setup).once.with(cluster)
subject.setup(cluster)

plan

(keyspace, statement, options)