namespace ZB.MOM.WW.GalaxyRepository;

/// <summary>Freshness state of the shared Galaxy hierarchy cache entry.</summary>
public enum GalaxyCacheStatus
{
    /// <summary>Cache has never completed a refresh.</summary>
    Unknown = 0,

    /// <summary>Cache holds data from a recent successful refresh.</summary>
    Healthy = 1,

    /// <summary>Cache holds data, but the most recent refresh attempt failed
    /// or no successful refresh has happened within the staleness threshold.</summary>
    Stale = 2,

    /// <summary>Latest refresh failed and no prior data is available.</summary>
    Unavailable = 3,
}
