| /*- |
| * Copyright (C) 2002, 2018, Oracle and/or its affiliates. All rights reserved. |
| * |
| * This file was distributed by Oracle as part of a version of Oracle Berkeley |
| * DB Java Edition made available at: |
| * |
| * http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html |
| * |
| * Please see the LICENSE file included in the top-level directory of the |
| * appropriate version of Oracle Berkeley DB Java Edition for a copy of the |
| * license and additional information. |
| */ |
| |
| package com.sleepycat.je.rep.impl; |
| |
| import com.sleepycat.je.utilint.StatDefinition; |
| |
| /** |
| * General information for replicated nodes. |
| */ |
| public class RepImplStatDefinition { |
| |
| public static final String GROUP_NAME = "ReplicatedEnvironment"; |
| public static final String GROUP_DESC = |
| "General information about a replication node"; |
| |
| public static final StatDefinition HARD_RECOVERY = |
| new StatDefinition("hardRecoveryIncurred", |
| "If true, this node had to truncate committed " + |
| "transactions which differed from the group's " + |
| "version of the replication stream from its log " + |
| "in order to come up."); |
| |
| public static final StatDefinition HARD_RECOVERY_INFO = |
| new StatDefinition("hardRecoveryInfo", |
| "Description of the amount of log truncated " + |
| " in order to do a hard recovery."); |
| } |