com.sleepycat.je.utilint
Class StatDefinition

java.lang.Object
  extended by com.sleepycat.je.utilint.StatDefinition
All Implemented Interfaces:
Comparable

public class StatDefinition
extends Object
implements Comparable

Per-stat Metadata for JE statistics. The name and description are meant to available in a verbose display of stats, and should be meaningful for users.


Constructor Summary
StatDefinition(String name, String description)
           
 
Method Summary
 int compareTo(Object other)
           
 boolean equals(Object obj)
           
 String getDescription()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatDefinition

public StatDefinition(String name,
                      String description)
Method Detail

getName

public String getName()

getDescription

public String getDescription()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Object other)
Specified by:
compareTo in interface Comparable

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright (c) 2004-2010 Oracle. All rights reserved.