using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketBase.Metadata;
namespace SuperSocket.SocketBase.Metadata
{
///
/// Server StatusInfo Metadata
///
public class StatusInfoKeys
{
#region Shared
///
/// The cpu usage
///
public const string CpuUsage = "CpuUsage";
///
/// The memory usage
///
public const string MemoryUsage = "MemoryUsage";
///
/// The total thread count
///
public const string TotalThreadCount = "TotalThreadCount";
///
/// The available working threads count
///
public const string AvailableWorkingThreads = "AvailableWorkingThreads";
///
/// The available completion port threads count
///
public const string AvailableCompletionPortThreads = "AvailableCompletionPortThreads";
///
/// The max working threads count
///
public const string MaxWorkingThreads = "MaxWorkingThreads";
///
/// The max completion port threads count
///
public const string MaxCompletionPortThreads = "MaxCompletionPortThreads";
#endregion
#region For server instance
///
/// The started time.
///
public const string StartedTime = "StartedTime";
///
/// true if this instance is running; otherwise, false.
///
public const string IsRunning = "IsRunning";
///
/// The total count of the connections.
///
public const string TotalConnections = "TotalConnections";
///
/// The max connection number.
///
public const string MaxConnectionNumber = "MaxConnectionNumber";
///
/// The total handled requests count.
///
public const string TotalHandledRequests = "TotalHandledRequests";
///
/// Gets or sets the request handling speed, per second.
///
///
/// The request handling speed.
///
public const string RequestHandlingSpeed = "RequestHandlingSpeed";
///
/// Gets or sets the listeners.
///
public const string Listeners = "Listeners";
///
/// The avialable sending queue items.
///
public const string AvialableSendingQueueItems = "AvialableSendingQueueItems";
///
/// The total sending queue items.
///
public const string TotalSendingQueueItems = "TotalSendingQueueItems";
#endregion
}
}