@Beta
    @Nonnull
    public ClientConfig setTpcConfig(@Nonnull ClientTpcConfig tpcConfig) {
        this.tpcConfig = isNotNull(tpcConfig, "tpcConfig");
        return this;
    }
@Test
    public void testTpcConfig() {
        ClientConfig config = new ClientConfig();
        ClientTpcConfig tpcConfig = new ClientTpcConfig();

        assertFalse(tpcConfig.isEnabled());

        tpcConfig.setEnabled(true);
        tpcConfig.setConnectionCount(10);
        config.setTpcConfig(tpcConfig);

        assertTrue(tpcConfig.isEnabled());
        assertEquals(10, tpcConfig.getConnectionCount());
        assertThrows(IllegalArgumentException.class, () -> config.setTpcConfig(null));
    }