com.sleepycat.je.utilint
Class LongArrayStat
java.lang.Object
com.sleepycat.je.utilint.Stat<long[]>
com.sleepycat.je.utilint.LongArrayStat
- All Implemented Interfaces:
- Serializable, Cloneable
public class LongArrayStat
- extends Stat<long[]>
A Long array JE stat.
- See Also:
- Serialized Form
Method Summary |
void |
add(Stat<long[]> other)
Add the value of "other" to this stat. |
void |
clear()
Initialize the stat to the proper value at startup, or reset the
stat when copyAndClear() is called. |
LongArrayStat |
copy()
|
long[] |
get()
|
(package private) String |
getFormattedValue()
Return a string with the stat value formatted as appropriate for
its type. |
void |
set(long[] array)
Set the stat value. |
LongArrayStat
public LongArrayStat(StatGroup group,
StatDefinition definition)
LongArrayStat
public LongArrayStat(StatGroup group,
StatDefinition definition,
long[] array)
get
public long[] get()
- Specified by:
get
in class Stat<long[]>
- Returns:
- the stat value.
set
public void set(long[] array)
- Description copied from class:
Stat
- Set the stat value.
- Specified by:
set
in class Stat<long[]>
add
public void add(Stat<long[]> other)
- Description copied from class:
Stat
- Add the value of "other" to this stat.
- Specified by:
add
in class Stat<long[]>
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<long[]>
copy
public LongArrayStat copy()
- Overrides:
copy
in class Stat<long[]>
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<long[]>
Copyright (c) 2004-2010 Oracle. All rights reserved.