com.sleepycat.je.utilint
Class ActiveTxnArrayStat
java.lang.Object
com.sleepycat.je.utilint.Stat<TransactionStats.Active[]>
com.sleepycat.je.utilint.ActiveTxnArrayStat
- All Implemented Interfaces:
- Cloneable
public class ActiveTxnArrayStat
- extends Stat<TransactionStats.Active[]>
An array of active Txn stats.
ActiveTxnArrayStat
public ActiveTxnArrayStat(StatGroup group,
StatDefinition definition)
ActiveTxnArrayStat
public ActiveTxnArrayStat(StatGroup group,
StatDefinition definition,
TransactionStats.Active[] array)
get
public TransactionStats.Active[] get()
- Specified by:
get
in class Stat<TransactionStats.Active[]>
- Returns:
- the stat value.
set
public void set(TransactionStats.Active[] array)
- Description copied from class:
Stat
- Set the stat value.
- Specified by:
set
in class Stat<TransactionStats.Active[]>
add
public void add(Stat<TransactionStats.Active[]> other)
- Description copied from class:
Stat
- Add the value of "other" to this stat.
- Specified by:
add
in class Stat<TransactionStats.Active[]>
clear
public void clear()
- Description copied from class:
Stat
- Initialize the stat to the proper value at startup, or reset the
stat when copyAndClear() is called.
- Specified by:
clear
in class Stat<TransactionStats.Active[]>
copy
public ActiveTxnArrayStat copy()
- Overrides:
copy
in class Stat<TransactionStats.Active[]>
getFormattedValue
String getFormattedValue()
- Description copied from class:
Stat
- Return a string with the stat value formatted as appropriate for
its type.
- Specified by:
getFormattedValue
in class Stat<TransactionStats.Active[]>
Copyright (c) 2004-2010 Oracle. All rights reserved.