Class ResolveHostnameJob
java.lang.Object
edu.ucsb.cs156.diningcachingproxy.jobs.ResolveHostnameJob
- All Implemented Interfaces:
edu.ucsb.cs156.jobs.services.JobContextConsumer
public class ResolveHostnameJob
extends Object
implements edu.ucsb.cs156.jobs.services.JobContextConsumer
Attempts a reverse DNS lookup for one IP address, updating
HostTrackingService with the
result (the resolved hostname, or the address itself if resolution fails). Runs asynchronously
via JobService - reverse DNS is a blocking network call with no built-in timeout, so it
must never run inline in the proxy's request path.-
Constructor Details
-
ResolveHostnameJob
public ResolveHostnameJob()
-
-
Method Details
-
accept
-