public override ClientNodeStatusWrapper GetClientNodeStatus(string cacheId) { string clientCacheId = string.Empty; ClientNodeStatus status = ClientConfigManager.GetClientNodeStatus(cacheId.ToLower(), out clientCacheId); if (status == ClientNodeStatus.ClientCacheUnavailable) { StatusInfo statusInfo = GetCacheStatus(clientCacheId.ToLower(), null); if (statusInfo.IsRunning) { status = ClientNodeStatus.ClientCacheDisabled; } } else if (status == ClientNodeStatus.ClientCacheDisabled) { StatusInfo statusInfo = GetCacheStatus(clientCacheId.ToLower(), null); if (statusInfo.IsRunning) { status = ClientNodeStatus.ClientCacheEnabled; } else if (statusInfo.IsUnavailable) { status = ClientNodeStatus.ClientCacheUnavailable; } } return(new ClientNodeStatusWrapper(status)); }
public override ClientNodeStatusWrapper GetClientNodeStatus(string cacheId) { string clientCacheId = string.Empty; ClientNodeStatus status = ClientConfigManager.GetClientNodeStatus(cacheId.ToLower(), out clientCacheId); return(new ClientNodeStatusWrapper(status)); }