class SimpleSpanProcessor implements SpanProcessor {

  @Override
  public CompletableResultCode shutdown() {
    if (isShutdown.getAndSet(true)) {
      return CompletableResultCode.ofSuccess();
    }
    return spanExporter.shutdown();
  }

  private  SimpleSpanProcessor(SpanExporter spanExporter, boolean sampled);

}