public interface ClientFactory
Modifier and Type | Interface and Description |
---|---|
static interface |
ClientFactory.ContextAwareRESTErrorListener |
static interface |
ClientFactory.RemoteFunction<T,R> |
static interface |
ClientFactory.RemoteRunnable<T> |
Modifier and Type | Method and Description |
---|---|
<T> void |
executeWithRetries(java.lang.Class<T> clientResourceClass,
ClientFactory.RemoteRunnable<T> toExecute) |
<T> void |
executeWithRetries(java.lang.Class<T> clientResourceClass,
ClientFactory.RemoteRunnable<T> toExecute,
ClientFactory.ContextAwareRESTErrorListener retryListener) |
<T> <any> |
getAllResourceClients(java.lang.Class<T> clazz) |
<T> <any> |
getAllResourceClients(java.lang.Class<T> clazz,
<any> headers) |
<T> java.util.List<T> |
getAllResourceClients(java.lang.String className) |
<T> <any> |
getResourceClient(java.lang.Class<T> clazz) |
<T> <any> |
getResourceClient(java.lang.Class<T> clazz,
<any> headers) |
<T> <any> |
getResourceClient(java.lang.Class<T> clazz,
com.lucidworks.apollo.security.AuthorizationContext authorizationContext) |
<T> <any> |
getResourceClient(java.lang.String className) |
<T> <any> |
getResourceClient(java.lang.String className,
<any> headers) |
<T> <any> |
getResourceClientWithQueryParams(java.lang.Class<T> clazz,
<any> queryParams) |
<T,R> R |
getWithRetries(java.lang.Class<T> clientResourceClass,
ClientFactory.RemoteFunction<T,R> toExecute) |
<T,R> R |
getWithRetries(java.lang.Class<T> clientResourceClass,
ClientFactory.RemoteFunction<T,R> toExecute,
ClientFactory.ContextAwareRESTErrorListener retryListener) |
<T> <any> getResourceClient(java.lang.Class<T> clazz)
<T> <any> getResourceClientWithQueryParams(java.lang.Class<T> clazz, <any> queryParams)
<T> <any> getResourceClient(java.lang.Class<T> clazz, com.lucidworks.apollo.security.AuthorizationContext authorizationContext)
<T> <any> getResourceClient(java.lang.Class<T> clazz, <any> headers)
<T> <any> getResourceClient(java.lang.String className) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T> <any> getAllResourceClients(java.lang.Class<T> clazz)
<T> <any> getAllResourceClients(java.lang.Class<T> clazz, <any> headers)
<T> java.util.List<T> getAllResourceClients(java.lang.String className) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T> <any> getResourceClient(java.lang.String className, <any> headers) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T,R> R getWithRetries(java.lang.Class<T> clientResourceClass, ClientFactory.RemoteFunction<T,R> toExecute) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T,R> R getWithRetries(java.lang.Class<T> clientResourceClass, ClientFactory.RemoteFunction<T,R> toExecute, ClientFactory.ContextAwareRESTErrorListener retryListener) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T> void executeWithRetries(java.lang.Class<T> clientResourceClass, ClientFactory.RemoteRunnable<T> toExecute) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
<T> void executeWithRetries(java.lang.Class<T> clientResourceClass, ClientFactory.RemoteRunnable<T> toExecute, ClientFactory.ContextAwareRESTErrorListener retryListener) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError