org.apache.hadoop.hbase
Class RegionHistorian.RegionHistoryInformation

java.lang.Object
  extended by org.apache.hadoop.hbase.RegionHistorian.RegionHistoryInformation
All Implemented Interfaces:
Comparable<RegionHistorian.RegionHistoryInformation>
Enclosing class:
RegionHistorian

public class RegionHistorian.RegionHistoryInformation
extends Object
implements Comparable<RegionHistorian.RegionHistoryInformation>

Inner class that only contains information about an event.


Constructor Summary
RegionHistorian.RegionHistoryInformation(long timestamp, byte[] event, byte[] description)
           
 
Method Summary
 int compareTo(RegionHistorian.RegionHistoryInformation otherInfo)
           
 String getDescription()
           
 String getEvent()
           
 long getTimestamp()
           
 String getTimestampAsString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionHistorian.RegionHistoryInformation

public RegionHistorian.RegionHistoryInformation(long timestamp,
                                                byte[] event,
                                                byte[] description)
Parameters:
timestamp -
event -
description -
Method Detail

compareTo

public int compareTo(RegionHistorian.RegionHistoryInformation otherInfo)
Specified by:
compareTo in interface Comparable<RegionHistorian.RegionHistoryInformation>

getEvent

public String getEvent()
Returns:
the event

getDescription

public String getDescription()
Returns:
the description

getTimestamp

public long getTimestamp()
Returns:
the timestamp

getTimestampAsString

public String getTimestampAsString()
Returns:
The value of the timestamp processed with the date formater.


Copyright © 2009 The Apache Software Foundation