src/com/newrelic/metrics/publish/binding/Context.java
/**
     * Create a {@link Request}.
     * If the last {@code Request} was not sent successfully, the last {@code Request} will be reused.
     * This guarantees that previously reported metrics will be aggregated with new metrics, and
     * no metric data will be lost if a request was not sent successfully.
     * @return request
     */
Create a  Request.
If the last  Request was not sent successfully, the last  Request will be reused.
This guarantees that previously reported metrics will be aggregated with new metrics, and
no metric data will be lost if a request was not sent successfully.
@return request
Create a Request . If the last Request was not sent successfully the last Request will be reused . This guarantees that previously reported metrics will be aggregated with new metrics and no metric data will be lost if a request was not sent successfully . @return request
public Request createRequest() {
        if (isPastAggregationLimit()) {
            lastRequest = new Request(this);
            for (ComponentData component : components) {
                component.setLastSuccessfulReportedAt(null);
            }
        }
        else if (isLastRequestDelivered()) {
            lastRequest = new Request(this);
        }
        return lastRequest;
    }
public Request createRequest ( ) { if ( isPastAggregationLimit ( ) ) { lastRequest = new Request ( this ) ; for ( ComponentData component : components ) { component . setLastSuccessfulReportedAt ( null ) ; } } else if ( isLastRequestDelivered ( ) ) { lastRequest = new Request ( this ) ; } return lastRequest ; }
Create a {@link Request}.
Create a { @link Request } .