B C D E F G M N O P Q S U

B

BaseEndpointCache<E> - Class in org.gcube.common.clients
Implements EndpointCache.
BaseEndpointCache() - Constructor for class org.gcube.common.clients.BaseEndpointCache
 

C

Call<S,R> - Interface in org.gcube.common.clients
A call to a service.
call(S) - Method in interface org.gcube.common.clients.Call
Calls the service
clear() - Method in class org.gcube.common.clients.BaseEndpointCache
Reset the cache.
clear(String) - Method in class org.gcube.common.clients.BaseEndpointCache
Reset the cache for a given service.
clear() - Method in interface org.gcube.common.clients.EndpointCache
Reset the cache.
clear(String) - Method in interface org.gcube.common.clients.EndpointCache
Reset the cache for a given service.
Client<S> - Interface in org.gcube.common.clients
A generic client that makes Calls to a service.

D

DiscoveryClient<S,E> - Class in org.gcube.common.clients
A Client that discovers the services with which it interacts.
DiscoveryClient(ServiceProvider<S, E>, Query<E>, EndpointCache<E>) - Constructor for class org.gcube.common.clients.DiscoveryClient
Creates an instance with a ServiceProvider, a Query, and an EndpointCache.
DiscoveryException - Exception in org.gcube.common.clients
Raised when services instances cannot be discovered.
DiscoveryException(String) - Constructor for exception org.gcube.common.clients.DiscoveryException
Creates an instance with a message.
DiscoveryException(Exception) - Constructor for exception org.gcube.common.clients.DiscoveryException
Creates an instance from a cause.

E

EndpointCache<E> - Interface in org.gcube.common.clients
A cache of service endpoints.

F

fire() - Method in interface org.gcube.common.clients.Query
Executes the query.

G

get(String) - Method in class org.gcube.common.clients.BaseEndpointCache
Returns the endpoint cached for a given service
get(String) - Method in interface org.gcube.common.clients.EndpointCache
Returns the endpoint cached for a given service

M

make(Call<S, R>) - Method in interface org.gcube.common.clients.Client
Makes a Call to the service.
make(Call<S, CR>) - Method in class org.gcube.common.clients.DiscoveryClient
 
make(Call<S, R>) - Method in class org.gcube.common.clients.PassThroughClient
Makes a Call to the service.

N

name() - Method in interface org.gcube.common.clients.ServiceProvider
Returns the name of the service

O

org.gcube.common.clients - package org.gcube.common.clients
 

P

PassThroughClient<S,E> - Class in org.gcube.common.clients
A Client that sends Calls to services at known endpoints,
PassThroughClient(ServiceProvider<S, E>, E, EndpointCache<E>) - Constructor for class org.gcube.common.clients.PassThroughClient
Creates an instance with a ServiceProvider and an endpoint.
put(String, E) - Method in class org.gcube.common.clients.BaseEndpointCache
Caches the endpoint of a given service
put(String, E) - Method in interface org.gcube.common.clients.EndpointCache
Caches the endpoint of a given service

Q

Query<E> - Interface in org.gcube.common.clients
A query for service endpoints.

S

service(E) - Method in interface org.gcube.common.clients.ServiceProvider
Returns a service at an endpoint.
ServiceProvider<S,E> - Interface in org.gcube.common.clients
Provides services at given endpoints.

U

Unrecoverable - Annotation Type in org.gcube.common.clients
Specified on Call.call(Object) to short-circuit endpoint iteration in the interaction strategy of DiscoveryClients.

B C D E F G M N O P Q S U

Copyright © 2012. All Rights Reserved.