io.leopard.core
Class MethodTimeImpl

java.lang.Object
  extended by io.leopard.core.MethodTimeImpl
All Implemented Interfaces:
MethodTime

public class MethodTimeImpl
extends java.lang.Object
implements MethodTime


Constructor Summary
MethodTimeImpl()
           
 
Method Summary
 boolean add(java.lang.String methodName, long time)
           
 boolean addByStartTime(java.lang.String methodName, long startTime)
           
static MethodTime getInstance()
           
 void setMethodTime(MethodTime methodTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodTimeImpl

public MethodTimeImpl()
Method Detail

getInstance

public static MethodTime getInstance()

setMethodTime

public void setMethodTime(MethodTime methodTime)

add

public boolean add(java.lang.String methodName,
                   long time)
Specified by:
add in interface MethodTime

addByStartTime

public boolean addByStartTime(java.lang.String methodName,
                              long startTime)
Specified by:
addByStartTime in interface MethodTime


Copyright © 2014. All Rights Reserved.