Package edu.ucsb.cs156.diningcachingproxy.services
package edu.ucsb.cs156.diningcachingproxy.services
-
ClassDescriptionShared cache-check/forward/store logic used by every proxy controller.Builds and launches an
EvictStaleCachedResponsesJob.A host (hostname if resolved, else IP address), how many requests it has sent in total, and a breakdown of that total by which request path it called.Tracks which hosts have sent requests through the proxy, and how many times each has done so.In-memory implementation ofHostTrackingService.Bridge between the lib-jobs library and this app's notion of "current user"; lib-jobs uses it to stamp createdById/createdByEmail on Job records.A request path and how many times a given host has requested it.Builds and launches aResolveHostnameJobfor one IP address.In-memory counters tracking cache performance since the proxy was started up.