com.alibaba.druid.support.profile
类 Profiler

java.lang.Object
  继承者 com.alibaba.druid.support.profile.Profiler

public class Profiler
extends Object


字段摘要
static String PROFILE_TYPE_SPRING
           
static String PROFILE_TYPE_SQL
           
static String PROFILE_TYPE_WEB
           
 
构造方法摘要
Profiler()
           
 
方法摘要
static ProfileEntry current()
           
static void enter(String name, String type)
           
static Map<ProfileEntryKey,ProfileEntryReqStat> getStatsMap()
           
static void initLocal()
           
static boolean isEnable()
           
static void release(long nanos)
           
static void removeLocal()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

PROFILE_TYPE_WEB

public static final String PROFILE_TYPE_WEB
另请参见:
常量字段值

PROFILE_TYPE_SPRING

public static final String PROFILE_TYPE_SPRING
另请参见:
常量字段值

PROFILE_TYPE_SQL

public static final String PROFILE_TYPE_SQL
另请参见:
常量字段值
构造方法详细信息

Profiler

public Profiler()
方法详细信息

isEnable

public static boolean isEnable()

enter

public static void enter(String name,
                         String type)

current

public static ProfileEntry current()

release

public static void release(long nanos)

getStatsMap

public static Map<ProfileEntryKey,ProfileEntryReqStat> getStatsMap()

initLocal

public static void initLocal()

removeLocal

public static void removeLocal()


Copyright © 2013 Alibaba Group. All Rights Reserved.