Interface PrimaryHostDeterminer

All Known Implementing Classes:
PrimaryHostDeterminerImpl

public interface PrimaryHostDeterminer
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isPrimary(PgConnection pgConnection)
    Determines whether given connection is a connection to a primary host.
  • Method Details

    • isPrimary

      boolean isPrimary(@Nonnull PgConnection pgConnection)
      Determines whether given connection is a connection to a primary host.
      Parameters:
      pgConnection - PgConnection object
      Returns:
      true if this is a connection to a primary host.