cache.rst 989 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .. _geofence_cache:
  2. GeoFence Cache REST
  3. ===================
  4. The Geofence client cache status can be queried, and the cache cleared (invalidated) through a REST service.
  5. Requests
  6. --------
  7. ``/geofence/ruleCache/info``
  8. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9. Retrieve information about the geofence cache status.
  10. .. list-table::
  11. :header-rows: 1
  12. :widths: 10 20 20 20
  13. * - Method
  14. - Action
  15. - Parameters
  16. - Response
  17. * - GET
  18. - Retrieve information about the geofence cache status. Per cache (rules, admin rules and users) we retrieve the cache size, hits, misses, load successes, load failures, load times and evictions.
  19. - ---
  20. - 200 OK. Text Format.
  21. ``/geofence/ruleCache/invalidate``
  22. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  23. Invalidate the geofence cache.
  24. .. list-table::
  25. :header-rows: 1
  26. :widths: 10 20 20 20
  27. * - Method
  28. - Action
  29. - Parameters
  30. - Response
  31. * - PUT
  32. - Invalidate (clear) the geofence cache
  33. - ---
  34. - 200 OK.