You are here

interface AcquiaLiftReportCacheInterface in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 includes/AcquiaLiftReportCacheInterface.inc \AcquiaLiftReportCacheInterface

Hierarchy

Expanded class hierarchy of AcquiaLiftReportCacheInterface

All classes that implement AcquiaLiftReportCacheInterface

File

includes/acquia_lift.classes.inc, line 1656
Provides an agent type for Acquia Lift

View source
interface AcquiaLiftReportCacheInterface {

  /**
   * Retrieve reports from the cache for a particular agent.
   *
   * @param $agent_name
   *   The name of the agent to retrieve reports for.
   * @return mixed
   *   An array representing the reports or NULL of not found.
   */
  public function getCachedReports($agent_name);

  /**
   * Store reports for a particular agent in the cache.
   *
   * @param $agent_name
   *   The name of the agent to store reports for.
   * @param $data
   *   An array representing the reports.
   */
  public function cacheReports($agent_name, $data);

}

Members

Namesort descending Modifiers Type Description Overrides
AcquiaLiftReportCacheInterface::cacheReports public function Store reports for a particular agent in the cache. 1
AcquiaLiftReportCacheInterface::getCachedReports public function Retrieve reports from the cache for a particular agent. 1