Use INKCacheWrite
to write to a cache (see
the sample Protocol plugin). Possible callback events
include:
INK_EVENT_CACHE_WRITE_READ
- indicates the lookup was successful. The data passed back along with this
event is a cache vconnection that can be used to initiate a cache write.
INK_EVENT_CACHE_OPEN_WRITE_FAILED
- event
returned when another continuation is currently writing to this
location in the cache. Data payload for this event indicates the
possible reason for the write failing
(INKCacheError
).