public final class StaticLookupSourceProvider extends Object implements LookupSourceProvider
LookupSourceProvider.LookupSourceLease| Constructor and Description |
|---|
StaticLookupSourceProvider(LookupSource lookupSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<R> R |
withLease(Function<LookupSourceProvider.LookupSourceLease,R> action) |
public StaticLookupSourceProvider(LookupSource lookupSource)
public <R> R withLease(Function<LookupSourceProvider.LookupSourceLease,R> action)
withLease in interface LookupSourceProviderpublic void close()
close in interface LookupSourceProviderclose in interface AutoCloseableCopyright © 2012–2019. All rights reserved.