com.taobao.metamorphosis.utils.test
类 ConcurrentTestCase

java.lang.Object
  继承者 com.taobao.metamorphosis.utils.test.ConcurrentTestCase

public class ConcurrentTestCase
extends Object

并发测试案例

从以下版本开始:
1.0, 2010-1-11 下午03:14:28
作者:
boyan

构造方法摘要
ConcurrentTestCase(int threadCount, ConcurrentTestTask task)
           
ConcurrentTestCase(int threadCount, int repeatCount, ConcurrentTestTask task)
           
 
方法摘要
 long getDurationInMillis()
           
 long getDurationInNano()
           
 ConcurrentTestTask getTask()
           
 int getThreadCount()
           
 void setTask(ConcurrentTestTask task)
           
 void setThreadCount(int threadCount)
           
 void start()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ConcurrentTestCase

public ConcurrentTestCase(int threadCount,
                          int repeatCount,
                          ConcurrentTestTask task)

ConcurrentTestCase

public ConcurrentTestCase(int threadCount,
                          ConcurrentTestTask task)
方法详细信息

start

public void start()

getThreadCount

public int getThreadCount()

setThreadCount

public void setThreadCount(int threadCount)

getTask

public ConcurrentTestTask getTask()

setTask

public void setTask(ConcurrentTestTask task)

getDurationInMillis

public long getDurationInMillis()

getDurationInNano

public long getDurationInNano()


Copyright © 2010–2013. All rights reserved.