public SyncBulkheadState createSyncBulkheadState ( BulkheadPolicy policy , MetricRecorder metricRecorder ) { if ( policy == null ) { return new SyncBulkheadStateNullImpl ( ) ; } else { return new SyncBulkheadStateImpl ( policy , metricRecorder ) ; } }
Create an object implementing a synchronous Bulkhead