Executable<T> Interface
Type Parameters
- T
the type of result produced by the execution.
Implements
public interface Executable
extends Indexable
The base interface for all template interfaces that support execute operations.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract T |
execute()
Execute the request. |
abstract rx.Observable<T> |
executeAsync()
Execute the request asynchronously. |
abstract com.microsoft.rest.ServiceFuture<T> |
executeAsync(ServiceCallback<T> callback)
Execute the request asynchronously. |
Method Details
execute
public abstract T execute()
Execute the request.
Returns:
execution result object
executeAsync
public abstract Observable
Execute the request asynchronously.
Returns:
the handle to the REST call
executeAsync
public abstract ServiceFuture
Execute the request asynchronously.
Parameters:
callback
- the callback for success and failure
Returns:
the handle to the REST call
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java