client/src/main/java/eventstore/j/EsConnection.java
Future<DeleteResult> deleteStream(
      String stream,
      ExpectedVersion.Existing expectedVersion,
      boolean hardDelete,
      UserCredentials credentials);
/**
   * Deletes a stream from the Event Store
   *
   * @param stream          name of the stream to delete
   * @param expectedVersion optional expected version that the stream should have when being deleted, or <code>ExpectedVersion.Any</code> if <code>null</code>
   * @param hardDelete      Indicator for tombstoning vs soft-deleting the stream. Tombstoned streams can never be recreated. Soft-deleted streams can be written to again, but the EventNumber sequence will not start from 0.
   * @param credentials     optional user credentials to perform operation with.
   * @return A {@link scala.concurrent.Future} that the caller can await on
   */
Deletes a stream from the Event Store
@param stream          name of the stream to delete
@param expectedVersion optional expected version that the stream should have when being deleted, or ExpectedVersion.Any if null
@param hardDelete      Indicator for tombstoning vs soft-deleting the stream. Tombstoned streams can never be recreated. Soft-deleted streams can be written to again, but the EventNumber sequence will not start from 0.
@param credentials     optional user credentials to perform operation with.
@return A  scala.concurrent.Future that the caller can await on
Deletes a stream from the Event Store @param stream name of the stream to delete @param expectedVersion optional expected version that the stream should have when being deleted or ExpectedVersion . Any if null @param hardDelete Indicator for tombstoning vs soft - deleting the stream . Tombstoned streams can never be recreated . Soft - deleted streams can be written to again but the EventNumber sequence will not start from 0 . @param credentials optional user credentials to perform operation with . @return A scala . concurrent . Future that the caller can await on
Future<DeleteResult> deleteStream(
      String stream,
      ExpectedVersion.Existing expectedVersion,
      boolean hardDelete,
      UserCredentials credentials);
Future < DeleteResult > deleteStream ( String stream , ExpectedVersion . Existing expectedVersion , boolean hardDelete , UserCredentials credentials ) ;
Deletes a stream from the Event Store
 @param stream          name of the stream to delete
 @param expectedVersion optional expected version that the stream should have when being deleted, or <code>ExpectedVersion.Any</code> if <code>null</code>
 @param hardDelete      Indicator for tombstoning vs soft-deleting the stream.
Deletes a stream from the Event Store @param stream name of the stream to delete @param expectedVersion optional expected version that the stream should have when being deleted or <code > ExpectedVersion . Any< / code > if <code > null< / code > @param hardDelete Indicator for tombstoning vs soft - deleting the stream .