You are here

interface AcquiaLiftReportCacheInterface in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 includes/acquia_lift.classes.inc \AcquiaLiftReportCacheInterface

Hierarchy

Expanded class hierarchy of AcquiaLiftReportCacheInterface

All classes that implement AcquiaLiftReportCacheInterface

1 string reference to 'AcquiaLiftReportCacheInterface'
AcquiaLiftReportFactory::create in includes/AcquiaLiftReportFactory.inc
Creates a Report object.

File

includes/AcquiaLiftReportCacheInterface.inc, line 3

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