Creatable<T> Interface
Type Parameters
- T
the fluent type of the resource to be created
public interface Creatable<T> extends Indexable,HasName
The final stage of the resource definition, at which it can be created using create().
Method Summary
Modifier and Type | Method and Description |
---|---|
T |
create()
Execute the create request. |
Observable<Indexable> |
createAsync()
Puts the request into the queue and allow the HTTP client to execute it when system resources are available. |
ServiceFuture<T> |
createAsync(final ServiceCallback<T> callback)
Puts the request into the queue and allow the HTTP client to execute it when system resources are available. |
Inherited Members
Method Details
create
public T create()
Execute the create request.
Returns:
createAsync
public Observable
Puts the request into the queue and allow the HTTP client to execute it when system resources are available.
Returns:
createAsync
public ServiceFuture
Puts the request into the queue and allow the HTTP client to execute it when system resources are available.
Parameters:
Returns: