com.alachisoft.ncache.common.caching.statistics.ClientCounters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
package com.alachisoft.ncache.common.caching.statistics;
import com.alachisoft.ncache.common.caching.statistics.monitoring.CounterCreationData;
import com.alachisoft.ncache.common.caching.statistics.monitoring.PerformanceCounterType;
public class ClientCounters {
private static String categoryNameNCache = "NCache Client";
public static CounterCreationData[] GetCounterCreationData() {
CounterCreationData[] counterCreationData = new CounterCreationData[]
{
new CounterCreationData("Fetches/sec", "Number of Get operations per second.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Additions/sec", "Number of Add operations per second.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Updates/sec", "Number of Insert operations per second.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Deletes/sec", "Number of Remove operations per second.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Read Operations/sec", "Number of Read operations per second", PerformanceCounterType.SampleCounter),
new CounterCreationData("Write Operations/sec", "Number of Write operations per second", PerformanceCounterType.SampleCounter),
new CounterCreationData("Average us/fetch", "Average time in microseconds (us), taken to complete one fetch operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/fetch base", "Base counter for average microseconds (us)/fetch", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/add", "Average time in microseconds (us), taken to complete one add operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/add base", "Base counter for average microseconds (us)/add", PerformanceCounterType.AverageBase), new CounterCreationData("Average us/insert", "Average time in microseconds, taken to complete one insert operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/insert base", "Base counter for average microseconds (us) F/insert", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/remove", "Average time in microseconds (us), taken to complete one remove operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/remove base", "Base counter for average microseconds (us)/remove", PerformanceCounterType.AverageBase),
new CounterCreationData("Request queue size", "Total number of requests from all clients on a single machine waiting for response from cache server", PerformanceCounterType.NumberOfItems64),
new CounterCreationData("Compression/sec", "Rate of compression/decompression i.e. how many items are compressed/decompression during one second interval.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Average Item Size", "Average size of the item added to/fetched from the cache by the client. Average size is calculated before compression/after decompression is applied.", PerformanceCounterType.AverageCount64),
new CounterCreationData("Average Item Size base", "Base counter for average size of the item added to the cache by the client. Average size is calculated before compression is applied.", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/event", "Average time in microseconds (us), taken in single event processing on the client.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/event base", " Average time in microseconds (us), taken in single event proccesing on the clients.", PerformanceCounterType.AverageBase),
new CounterCreationData("Events Processed/sec", "Number of events processed per sec on client.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Events Triggered/sec", "Number of events triggered and received by client per second.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Average us/compression", "Average time in microseconds (us), taken to compress one object.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/compression base", "Base counter for Average microseconds (us)/compression", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/decompression", "Average time in microseconds (us), taken to decompress one object.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/decompression base", "Base counter for Average microseconds (us)/decompression", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/encryption", "Average time in microseconds (us), taken to encrypt one object.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/encryption base", "Base counter for Average microseconds (us)/encryption", PerformanceCounterType.AverageBase), new CounterCreationData("Average us/decryption", "Average time in microseconds (us), taken to decrypt one object.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/decryption base", "Base counter for Average microseconds (us)/decryption", PerformanceCounterType.AverageBase),
new CounterCreationData("Average Compressed Item Size", "Average size in bytes, item size after compression on add or item size before decompression on fetch.", PerformanceCounterType.AverageCount64),
new CounterCreationData("Average Compressed Item Size base", "Base counter for Average Compressed Item Size.", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/serialization", "Average time in microseconds (us), taken to serialize one object.", PerformanceCounterType.AverageTimer32), new CounterCreationData("Average us/serialization base", "Base counter for Average microseconds (us)/serialization.", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/deserialization", "Average time in microseconds (us), taken to deserialize one object.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/deserialization base", "Base counter for Average microseconds (us)/deserialization.", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/addbulk", "Average time in microseconds (us), taken to complete bulk add operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/addbulk base", "Base counter for Average microseconds (us)/addbulk", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/fetchbulk", "Average time in microseconds (us), taken to complete bulk get operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/fetchbulk base", "Base counter for Average microseconds (us)/fetchbulk", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/insertbulk", "Average time in microseconds (us), taken to complete bulk insert operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/insertbulk base", "Base counter for Average microseconds (us)/insertbulk", PerformanceCounterType.AverageBase),
new CounterCreationData("Average us/removebulk", "Average time in microseconds (us), taken to complete bulk remove operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average us/removebulk base", "Base counter for Average microseconds (us)/removebulk", PerformanceCounterType.AverageBase),
new CounterCreationData("# of Sync Poll Requests", "Number of Sync Poll requests sent to the server.", PerformanceCounterType.NumberOfItems64),
new CounterCreationData("# of Last Sync Poll Updates", "Number of Updates resulted in last Sync Poll.", PerformanceCounterType.NumberOfItems64),
new CounterCreationData("# of Last Sync Poll Removes", "Number of Removes resulted in last Sync Poll.", PerformanceCounterType.NumberOfItems64),
new CounterCreationData("Average us/Published Messages", "Average time in microseconds, taken to complete publish messages operation.", PerformanceCounterType.AverageTimer32),
new CounterCreationData("Average µs/Published Messages Base", "Base counter for Average us/publish messages", PerformanceCounterType.AverageBase),
new CounterCreationData("Messages Published/sec", "Number of messages published per second.", PerformanceCounterType.SampleCounter),
new CounterCreationData("Messages Delivered/sec", "Number of messages delivered to subsribers per second.", PerformanceCounterType.SampleCounter)};
return counterCreationData;
}
}