com.bigdata.counters.store
Class CounterSetBTree.Entry

java.lang.Object
  extended by com.bigdata.counters.store.CounterSetBTree.Entry
Enclosing class:
CounterSetBTree

public static class CounterSetBTree.Entry
extends Object

A representation of a timestamped performance counter value as stored in the CounterSetBTree. The minutes, path, and timestamp fields are recovered from the key. The counter value is recovered from the value.

Version:
$Id: CounterSetBTree.java 4882 2011-07-10 17:47:23Z thompsonbry $
Author:
Bryan Thompson

Field Summary
 String path
           
 long timestamp
           
 Object value
           
 
Constructor Summary
CounterSetBTree.Entry(long timestamp, String path, Object value)
           
 
Method Summary
 int getDepth()
          Return the depth of the path in the performance counter hierarchy (counts the #of '/' characters in the path).
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

path

public final String path

timestamp

public final long timestamp

value

public final Object value
Constructor Detail

CounterSetBTree.Entry

public CounterSetBTree.Entry(long timestamp,
                             String path,
                             Object value)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getDepth

public int getDepth()
Return the depth of the path in the performance counter hierarchy (counts the #of '/' characters in the path).

Returns:
The depth.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.