///////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2006-2019 Esper Team. All rights reserved.                           /
// http://esper.codehaus.org                                                          /
// ---------------------------------------------------------------------------------- /
// The software in this package is published under the terms of the GPL license       /
// a copy of which has been included with this distribution in the license.txt file.  /
///////////////////////////////////////////////////////////////////////////////////////

namespace com.espertech.esper.common.@internal.metrics.stmtmetrics
{
    /// <summary>
    ///     Interface for the time of the metrics generation.
    /// </summary>
    public interface MetricTimeSource
    {
        /// <summary>Returns current time for metrics reporting. </summary>
        /// <returns>metrics current time</returns>
        long CurrentTime { get; }
    }
}