Interface WarmTransport
- All Superinterfaces:
AutoCloseable, Closeable
- All Known Implementing Classes:
LoopbackWarmTransport
Sends one warm request and says what came back. A seam:
LoopbackWarmTransport is the real
one, and CacheWarmerTest drives the run machinery with a fake.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classWhat the front door answered. -
Method Summary
-
Method Details
-
warm
- Parameters:
pathAndQuery- starts with/- Throws:
IOException- when there was no answer at all - a timeout, a refused connection
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-