public class PollingLookup extends LookupExtractor
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PollingLookup.CacheRefKeeper |
| Constructor and Description |
|---|
PollingLookup(long pollPeriodMs,
DataFetcher dataFetcher,
PollingCacheFactory cacheFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String key) |
void |
close() |
boolean |
equals(Object o) |
byte[] |
getCacheKey() |
int |
hashCode() |
boolean |
isOpen() |
String |
toString() |
List<String> |
unapply(String value) |
applyAll, isOneToOne, unapplyAllpublic PollingLookup(long pollPeriodMs,
DataFetcher dataFetcher,
PollingCacheFactory cacheFactory)
public void close()
public String apply(@NotNull String key)
apply in class LookupExtractorpublic List<String> unapply(String value)
unapply in class LookupExtractorpublic byte[] getCacheKey()
getCacheKey in class LookupExtractorpublic boolean isOpen()
Copyright © 2011–2018. All rights reserved.