Package org.gcube.common.clients.queries
Interface Query<A>
-
- Type Parameters:
A- the type of service endpoint addresses
public interface Query<A>A query for the endpoints of a given service.- Author:
- Fabio Simeoni
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object query)List<A>fire()Executes the query.inthashCode()StringtoString()
-
-
-
Method Detail
-
fire
List<A> fire() throws DiscoveryException
Executes the query.- Returns:
- the addresses of the discovered endpoints
- Throws:
DiscoveryException- if query execution fails
-
-