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
从类 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.