static class GlobusGSSName.ReverseDNSCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GlobusGSSName.ReverseDNSCache.MapEntry |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,GlobusGSSName.ReverseDNSCache.MapEntry> |
cache |
(package private) long |
duration |
(package private) long |
oldest |
(package private) java.util.concurrent.ExecutorService |
threads |
Constructor and Description |
---|
ReverseDNSCache(long duration) |
Modifier and Type | Method and Description |
---|---|
protected void |
enforceConstraints() |
protected java.util.concurrent.Future<java.lang.String> |
getCached(java.lang.String ip) |
java.lang.String |
resolve(java.lang.String ip) |
protected final java.util.Map<java.lang.String,GlobusGSSName.ReverseDNSCache.MapEntry> cache
final long duration
final java.util.concurrent.ExecutorService threads
long oldest
protected void enforceConstraints()
protected java.util.concurrent.Future<java.lang.String> getCached(java.lang.String ip)
public java.lang.String resolve(java.lang.String ip) throws java.net.UnknownHostException
java.net.UnknownHostException