1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002, 2014 Oracle and/or its affiliates.  All rights reserved.
5  *
6  */
7 
8 package com.sleepycat.je.rep.impl.node;
9 
10 import com.sleepycat.je.utilint.StatDefinition;
11 
12 /**
13  * Per-stat Metadata for HA Replay statistics.
14  */
15 public class FeederManagerStatDefinition {
16 
17     public static final String GROUP_NAME = "FeederManager";
18     public static final String GROUP_DESC =
19         "A feeder is a replication stream connection between a master and " +
20         "replica nodes.";
21 
22     public static StatDefinition N_FEEDERS_CREATED =
23         new StatDefinition("nFeedersCreated",
24                            "Number of Feeder threads since this node was " +
25                            "started.");
26 
27     public static StatDefinition N_FEEDERS_SHUTDOWN =
28         new StatDefinition("nFeedersShutdown",
29                            "Number of Feeder threads that were shut down, " +
30                            "either because this node, or the Replica " +
31                            "terminated the connection.");
32 
33     public static StatDefinition N_MAX_REPLICA_LAG =
34         new StatDefinition("nMaxReplicaLag",
35                            "The maximum number of VLSNs by which a replica " +
36                            "is lagging.");
37 
38     public static StatDefinition N_MAX_REPLICA_LAG_NAME =
39         new StatDefinition("nMaxReplicaLagName",
40                            "The name of the replica with the maximal lag.");
41 }
42