code: public SyncBulkheadState createSyncBulkheadState(BulkheadPolicy policy, MetricRecorder metricRecorder) {
          if (policy == null) {
              return new SyncBulkheadStateNullImpl();
          } else {
              return new SyncBulkheadStateImpl(policy, metricRecorder);
          }
      }
docs: Create an object implementing a synchronous Bulkhead
  
  @param policy the BulkheadPolicy, may be {@code null}
  @return a new SyncBulkheadState