org.apache.openejb.resource.jdbc.logging
Class TimeWatcherExecutor.TimerWatcherResult

java.lang.Object
  extended by org.apache.openejb.resource.jdbc.logging.TimeWatcherExecutor.TimerWatcherResult
Enclosing class:
TimeWatcherExecutor

public static class TimeWatcherExecutor.TimerWatcherResult
extends Object


Constructor Summary
TimeWatcherExecutor.TimerWatcherResult(long start, Object result, Throwable throwable)
           
 
Method Summary
 String format(String query)
           
 long getDuration()
           
 Object getResult()
           
 Throwable getThrowable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeWatcherExecutor.TimerWatcherResult

public TimeWatcherExecutor.TimerWatcherResult(long start,
                                              Object result,
                                              Throwable throwable)
Method Detail

format

public String format(String query)

getResult

public Object getResult()

getDuration

public long getDuration()

getThrowable

public Throwable getThrowable()


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.