Skip to main content

IConnectionSource

  • Namespace: PPDS.Dataverse.Pooling
  • Assembly: PPDS.Dataverse
  • Kind: Interface
  • Implements: IDisposable

Summary

Provides a seed ServiceClient for the connection pool to clone. Implementations handle specific authentication methods.

Members

Methods

GetSeedClient

ServiceClient GetSeedClient()

Gets the seed ServiceClient for cloning.

  • Returns: An authenticated, ready-to-use ServiceClient. The pool will clone this client to create pool members.

InvalidateSeed

void InvalidateSeed()

Invalidates the cached seed client, forcing fresh authentication on next use.

Properties

MaxPoolSize

int MaxPoolSize { get; }

Gets the maximum number of pooled connections for this source.

Name

string Name { get; }

Gets the unique name for this connection source. Used for logging, throttle tracking, and connection selection.