Interface HttpCacheCASOperation


@Contract(threading=STATELESS) public interface HttpCacheCASOperation
Atomic Compare-And-Swap (CAS) cache operation.
Since:
5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the new cache entry that should replace an existing one.
  • Method Details

    • execute

      Returns the new cache entry that should replace an existing one.
      Parameters:
      existing - the cache entry currently in-place in the cache, possibly null if nonexistent
      Returns:
      the cache entry that should replace it, again, possibly null if the entry should be deleted
      Throws:
      ResourceIOException