|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteteg.sinon.util.ConstantThinkTime
public class ConstantThinkTime
Implementação de ThinkTime que retorna sempre o mesmo número de
milissegundos.
$Header: /cvsroot/sinon/sinon/src/java/eteg/sinon/util/ConstantThinkTime.java,v 1.2 2005/06/21 14:25:08 thiagohp Exp $
| Constructor Summary | |
|---|---|
ConstantThinkTime()
Construtor sem parâmetros. |
|
| Method Summary | |
|---|---|
long |
nextThinkTime()
Retorna o tempo de espera (think time), em milissegundos, para o próximo acesso ao site. |
void |
setConfiguration(java.util.Properties properties)
Método que recebe um Properties a partir do qual este objeto
deve ser configurado. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantThinkTime()
| Method Detail |
|---|
public long nextThinkTime()
nextThinkTime in interface ThinkTime
public void setConfiguration(java.util.Properties properties)
throws InvalidThinkTimeConfigurationException
Properties a partir do qual este objeto
deve ser configurado.
setConfiguration in interface ThinkTimeproperties - uma instância de Properties.
InvalidThinkTimeConfigurationException - se as configurações
passadas não são válidas ou são insuficientes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||