biz.hammurapi.metrics.persistent
Class MetricLocator

java.lang.Object
  extended by biz.hammurapi.metrics.persistent.MetricLocator

public class MetricLocator
extends java.lang.Object

Locates metric id by name (path)

Version:
$Revision$
Author:
Pavel Vlasov

Constructor Summary
MetricLocator(biz.hammurapi.sql.SQLProcessor processor)
           
 
Method Summary
 java.lang.Number find(int root, java.lang.String category)
           
 java.lang.Number find(java.lang.String category)
           
 int[] findRoots()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricLocator

public MetricLocator(biz.hammurapi.sql.SQLProcessor processor)
Method Detail

findRoots

public int[] findRoots()
                throws java.sql.SQLException
Throws:
java.sql.SQLException

find

public java.lang.Number find(java.lang.String category)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

find

public java.lang.Number find(int root,
                             java.lang.String category)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2006 Hammurapi Group. All Rights Reserved.