All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.client.DeleteRequest Maven / Gradle / Ivy

There is a newer version: 0.72.1
Show newest version
package io.sphere.client;

import com.google.common.base.Optional;
import com.google.common.util.concurrent.ListenableFuture;
import net.jcip.annotations.Immutable;

import javax.annotation.Nonnull;

@Immutable
public interface DeleteRequest{

    /** Executes the request and returns the deleted object. */
    Optional execute();

    /** Executes the request asynchronously and returns a future of the deleted object. */
    ListenableFuture> executeAsync();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy