コード例 #1
0
ファイル: RedisCounters.cs プロジェクト: raycode/booksleeve
 internal Counters(int messagesSent, int messagesReceived, int queueJumpers, int messagesCancelled, int timeouts,
     int unsentQueue, int errorMessages, int syncCallbacks, int asyncCallbacks, int syncCallbacksInProgress, int asyncCallbacksInProgress,
     int sentQueue, IDictionary<int, int> dbUsage, int lastSentMillisecondsAgo, int lastKeepAliveMillisecondsAgo, int keepAliveSeconds, RedisConnectionBase.ConnectionState state, int ping)
 {
     this.messagesSent = messagesSent;
     this.messagesReceived = messagesReceived;
     this.queueJumpers = queueJumpers;
     this.messagesCancelled = messagesCancelled;
     this.timeouts = timeouts;
     this.unsentQueue = unsentQueue;
     this.errorMessages = errorMessages;
     this.sentQueue = sentQueue;
     this.dbUsage = dbUsage;
     this.ping = ping;
     this.syncCallbacks = syncCallbacks;
     this.asyncCallbacks = asyncCallbacks;
     this.syncCallbacksInProgress = syncCallbacksInProgress;
     this.asyncCallbacksInProgress = asyncCallbacksInProgress;
     this.lastSentMillisecondsAgo = lastSentMillisecondsAgo;
     this.lastKeepAliveMillisecondsAgo = lastKeepAliveMillisecondsAgo;
     this.keepAliveSeconds = keepAliveSeconds;
     this.state = state;
 }
コード例 #2
0
ファイル: RedisCounters.cs プロジェクト: simonmatt/booksleeve
 internal Counters(int messagesSent, int messagesReceived, int queueJumpers, int messagesCancelled, int timeouts,
                   int unsentQueue, int errorMessages, int syncCallbacks, int asyncCallbacks, int syncCallbacksInProgress, int asyncCallbacksInProgress,
                   int sentQueue, IDictionary <int, int> dbUsage, int lastSentMillisecondsAgo, int lastKeepAliveMillisecondsAgo, int keepAliveSeconds, RedisConnectionBase.ConnectionState state, int ping)
 {
     this.messagesSent      = messagesSent;
     this.messagesReceived  = messagesReceived;
     this.queueJumpers      = queueJumpers;
     this.messagesCancelled = messagesCancelled;
     this.timeouts          = timeouts;
     this.unsentQueue       = unsentQueue;
     this.errorMessages     = errorMessages;
     this.sentQueue         = sentQueue;
     this.dbUsage           = dbUsage;
     this.ping                         = ping;
     this.syncCallbacks                = syncCallbacks;
     this.asyncCallbacks               = asyncCallbacks;
     this.syncCallbacksInProgress      = syncCallbacksInProgress;
     this.asyncCallbacksInProgress     = asyncCallbacksInProgress;
     this.lastSentMillisecondsAgo      = lastSentMillisecondsAgo;
     this.lastKeepAliveMillisecondsAgo = lastKeepAliveMillisecondsAgo;
     this.keepAliveSeconds             = keepAliveSeconds;
     this.state                        = state;
 }