1 package org.openecomp.policy.api;
3 public interface MetricsResponse {
6 * Gets the <code>String</code> of the metrics message from <code>MetricsResponse</code>.
8 * @return the <code>String</code> which consists of the metrics message from <code>MetricsResponse</code>
10 public String getResponseMessage();
13 * Gets the response code of type <code>Integer</code> which corresponds to the HTTP Response code explaining the response from Policy Engine.
15 * @return the responseCode in <code>Integer</code> format corresponding to the HTTP response code from Policy Engine.
17 public int getResponseCode();
21 * Gets the <code>Integer</code> value of the count of policies that reside on the PAP.
23 * @return the <code>Integer</code> which consists of count of policies that reside on the PAP.
25 public int getPapMetrics();
29 * Gets the <code>Integer</code> value of the count of policies that reside on the PDP.
31 * @return the <code>Integer</code> which consists of count of policies that reside on the PDP.
33 public int getPdpMetrics();
37 * Gets the <code>Integer</code> value of the total count of policies.
39 * @return the <code>Integer</code> which consists of the total count of policies.
41 public int getMetricsTotal();