@Test public void testToString() { int maxConcurrent = 66; long maxWait = 555; BulkheadConfig config = BulkheadConfig.custom() .maxConcurrentCalls(maxConcurrent) .maxWaitDuration(Duration.ofMillis(maxWait)) .writableStackTraceEnabled(false) .fairCallHandlingStrategyEnabled(false) .build(); String result = config.toString(); assertThat(result).startsWith("BulkheadConfig{"); assertThat(result).contains("maxConcurrentCalls=66"); assertThat(result).contains("maxWaitDuration=PT0.555S"); assertThat(result).contains("writableStackTraceEnabled=false"); assertThat(result).contains("fairCallHandlingEnabled=false"); assertThat(result).endsWith("}"); }
@Override public String toString() { final StringBuilder sb = new StringBuilder("BulkheadConfig{"); sb.append("maxConcurrentCalls=").append(maxConcurrentCalls); sb.append(", maxWaitDuration=").append(maxWaitDuration); sb.append(", writableStackTraceEnabled=").append(writableStackTraceEnabled); sb.append(", fairCallHandlingEnabled=").append(fairCallHandlingEnabled); sb.append('}'); return sb.toString(); }
BulkheadConfig implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("BulkheadConfig{"); sb.append("maxConcurrentCalls=").append(maxConcurrentCalls); sb.append(", maxWaitDuration=").append(maxWaitDuration); sb.append(", writableStackTraceEnabled=").append(writableStackTraceEnabled); sb.append(", fairCallHandlingEnabled=").append(fairCallHandlingEnabled); sb.append('}'); return sb.toString(); } }
BulkheadConfig implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("BulkheadConfig{"); sb.append("maxConcurrentCalls=").append(maxConcurrentCalls); sb.append(", maxWaitDuration=").append(maxWaitDuration); sb.append(", writableStackTraceEnabled=").append(writableStackTraceEnabled); sb.append(", fairCallHandlingEnabled=").append(fairCallHandlingEnabled); sb.append('}'); return sb.toString(); } private  BulkheadConfig(int maxConcurrentCalls, Duration maxWaitDuration,
        boolean writableStackTraceEnabled, boolean fairCallHandlingEnabled); }
BulkheadConfig implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("BulkheadConfig{"); sb.append("maxConcurrentCalls=").append(maxConcurrentCalls); sb.append(", maxWaitDuration=").append(maxWaitDuration); sb.append(", writableStackTraceEnabled=").append(writableStackTraceEnabled); sb.append(", fairCallHandlingEnabled=").append(fairCallHandlingEnabled); sb.append('}'); return sb.toString(); } private  BulkheadConfig(int maxConcurrentCalls, Duration maxWaitDuration,
        boolean writableStackTraceEnabled, boolean fairCallHandlingEnabled); static Builder custom(); static Builder from(BulkheadConfig baseConfig); static BulkheadConfig ofDefaults(); int getMaxConcurrentCalls(); Duration getMaxWaitDuration(); boolean isWritableStackTraceEnabled(); boolean isFairCallHandlingEnabled(); @Override String toString(); }
BulkheadConfig implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("BulkheadConfig{"); sb.append("maxConcurrentCalls=").append(maxConcurrentCalls); sb.append(", maxWaitDuration=").append(maxWaitDuration); sb.append(", writableStackTraceEnabled=").append(writableStackTraceEnabled); sb.append(", fairCallHandlingEnabled=").append(fairCallHandlingEnabled); sb.append('}'); return sb.toString(); } private  BulkheadConfig(int maxConcurrentCalls, Duration maxWaitDuration,
        boolean writableStackTraceEnabled, boolean fairCallHandlingEnabled); static Builder custom(); static Builder from(BulkheadConfig baseConfig); static BulkheadConfig ofDefaults(); int getMaxConcurrentCalls(); Duration getMaxWaitDuration(); boolean isWritableStackTraceEnabled(); boolean isFairCallHandlingEnabled(); @Override String toString(); static final int DEFAULT_MAX_CONCURRENT_CALLS; static final Duration DEFAULT_MAX_WAIT_DURATION; static final boolean DEFAULT_WRITABLE_STACK_TRACE_ENABLED; static final boolean DEFAULT_FAIR_CALL_HANDLING_STRATEGY_ENABLED; }