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.stream;
9 
10 import com.sleepycat.je.utilint.StatDefinition;
11 
12 /**
13  * Per-stat Metadata for HA Feeder Transaction statistics.
14  */
15 public class FeederTxnStatDefinition {
16 
17     public static final String GROUP_NAME = "FeederTxns";
18     public static final String GROUP_DESC = "FeederTxns statistics";
19 
20     public static StatDefinition TXNS_ACKED =
21         new StatDefinition("txnsAcked", "Number of Transaction ack'd.");
22 
23     public static StatDefinition TXNS_NOT_ACKED =
24         new StatDefinition("txnsNotAcked",
25                            "Number of Transactions not Ack'd.");
26 
27     public static StatDefinition TOTAL_TXN_MS =
28             new StatDefinition("totalTxnMS",
29                                "The total elapsed MS across all txns from " +
30                                "transaction start to end.");
31 
32     public static StatDefinition ACK_WAIT_MS =
33         new StatDefinition("ackWaitMS", "Total MS waited for acks.");
34 }
35