public class CachedURLClassificationServiceImpl extends URLClassificationServiceImpl
executorService, lastModified, terms| Constructor and Description |
|---|
CachedURLClassificationServiceImpl(String url) |
CachedURLClassificationServiceImpl(URI url) |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getCheckInterval() |
long |
getCheckIntervalInSeconds() |
long |
getHits() |
long |
getMisses() |
protected SortedMap<TermId,Term> |
getTermsMap() |
void |
setCheckInterval(Duration duration) |
void |
setCheckIntervalInSeconds(long checkIntervalInSeconds) |
accept, equals, getCode, getLastLoad, getResource, getSources, hashCode, toStringcleanUp, getClassificationScheme, getLastModified, getTerm, getTermByReference, getTermsByReference, hasTerm, readTerms, toString, values, valuesOf@Inject
public CachedURLClassificationServiceImpl(@Named(value="npo-pageupdate-api.baseUrl")
String url)
public CachedURLClassificationServiceImpl(URI url)
protected SortedMap<TermId,Term> getTermsMap()
getTermsMap in class URLClassificationServiceImplpublic long getCheckIntervalInSeconds()
public void setCheckIntervalInSeconds(long checkIntervalInSeconds)
public void setCheckInterval(Duration duration)
public Duration getCheckInterval()
public long getHits()
public long getMisses()
Copyright © 2022 NPO. All rights reserved.