
com.truelayer.java.ConnectionPoolOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truelayer-java Show documentation
Show all versions of truelayer-java Show documentation
TrueLayer Java SDK for https://truelayer.com
package com.truelayer.java;
import java.util.concurrent.TimeUnit;
import lombok.Builder;
import lombok.Getter;
@Builder
@Getter
public class ConnectionPoolOptions {
@Builder.Default
private int maxIdleConnections = 5;
@Builder.Default
private KeepAliveDuration keepAliveDuration = KeepAliveDuration.builder().build();
@Builder
@Getter
public static class KeepAliveDuration {
@Builder.Default
private long duration = 5;
@Builder.Default
private TimeUnit timeUnit = TimeUnit.MINUTES;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy