code: static CompletableFuture<Void> delete(String segmentName, Storage storage, Duration timeout) {
          TimeoutTimer timer = new TimeoutTimer(timeout);
          String attributeSegmentName = StreamSegmentNameUtils.getAttributeSegmentName(segmentName);
          return Futures.exceptionallyExpecting(
                  storage.openWrite(attributeSegmentName)
                         .thenCompose(handle -> storage.delete(handle, timer.getRemaining())),
                  ex -> ex instanceof StreamSegmentNotExistsException,
                  null);
      }
docs: Deletes all the Attribute data associated with the given Segment.
  
  @param segmentName The name of the Segment whose attribute data should be deleted.
  @param storage     A Storage Adapter to execute the deletion on.
  @param timeout     Timeout for the operation.
  @return A CompletableFuture that, when completed, will indicate that the operation finished successfully.