public class CachingExternalLookupService extends Object implements ExternalLookupService
ExternalLookupService.LookupEntry
Constructor and Description |
---|
CachingExternalLookupService(ExternalLookupService service,
int size) |
CachingExternalLookupService(int size,
ExternalLookupService... services) |
CachingExternalLookupService(Iterable<ExternalLookupService> services,
int size) |
Modifier and Type | Method and Description |
---|---|
List<ExternalLookupService.LookupEntry> |
lookup(String id)
Lookup the information for the given identifier.
|
ExternalLookupService.LookupEntry |
lookup(String id,
String taxon)
Lookup the information for the given identifier and taxon.
|
public CachingExternalLookupService(ExternalLookupService service, int size)
public CachingExternalLookupService(Iterable<ExternalLookupService> services, int size)
public CachingExternalLookupService(int size, ExternalLookupService... services)
public List<ExternalLookupService.LookupEntry> lookup(String id)
ExternalLookupService
lookup
in interface ExternalLookupService
public ExternalLookupService.LookupEntry lookup(String id, String taxon)
ExternalLookupService
lookup
in interface ExternalLookupService
Copyright © 2010–2015. All rights reserved.