import dev.caskeleton.adapter.outbound.persistence.api.capability.*; import dev.caskeleton.adapter.outbound.persistence.api.transaction.*; import java.time.Duration; import java.util.List; public class JpaApiBoundProbe { public static void main(String[] args) { String large = "x".repeat(100_000); CapabilitySupport support = new CapabilitySupport(JpaCapability.OBSERVABILITY, SupportLevel.ADVANCED, List.of(large)); RetryDecision decision = RetryDecision.fail(large); RetryProfile profile = new RetryProfile("retry.profile", Integer.MAX_VALUE, Duration.ZERO, Duration.ZERO, 1.0d, JitterMode.NONE, java.util.Set.of()); System.out.println("constraintLength=" + support.constraints().get(0).length()); System.out.println("retryDecisionReasonLength=" + decision.reason().length()); System.out.println("retryProfileMaxAttempts=" + profile.maxAttempts()); } }