package fault.metrics;

import fault.Status;

/**
 * Created by timbrooks on 11/20/14.
 */
public interface ActionMetrics {
    int getFailuresForTimePeriod(int milliseconds);

    void reportActionResult(Status status);

    int getSuccessesForTimePeriod(int milliseconds);

    int getErrorsForTimePeriod(int milliseconds);

    int getTimeoutsForTimePeriod(int milliseconds);
}

package fault.metrics;

import fault.Status;

/**
 * Created by timbrooks on 11/20/14.
 */
public interface ActionMetrics {
    public void reportActionResult(Status status);

    public int getFailuresForTimePeriod(int milliseconds);

    public int getSuccessesForTimePeriod(int milliseconds);

    public int getErrorsForTimePeriod(int milliseconds);

    public int getTimeoutsForTimePeriod(int milliseconds);
}

Modify interface to have public methods
Modify interface to have public methods
