Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.client.framework
Class ChaosMonkey

java.lang.Object
  extended by org.jboss.errai.bus.client.framework.ChaosMonkey

public abstract class ChaosMonkey
extends Object

Author:
Mike Brock

Field Summary
static String DEGRADE_TO_UNINITIALIZED_ON_STOP
          This setting causes the bus to fall back to an uninitialized state when stop() is called so a directed cold start can be simulated for testing.
static String DONT_REALLY_CONNECT
          This setting causes the bus to go into a connecting state, without actually sending he handshake message to the transport layer.
static String FAIL_ON_CONNECT_AFTER_MS
          This setting is an optional setting in addition to DONT_REALLY_CONNECT.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DONT_REALLY_CONNECT

public static final String DONT_REALLY_CONNECT
This setting causes the bus to go into a connecting state, without actually sending he handshake message to the transport layer. This setting allows easy testing of bus behavior in the CONNECTING state.

See Also:
Constant Field Values

FAIL_ON_CONNECT_AFTER_MS

public static final String FAIL_ON_CONNECT_AFTER_MS
This setting is an optional setting in addition to DONT_REALLY_CONNECT. This setting specifies the time in milliseconds before a simulated connection failure will be triggered.

See Also:
Constant Field Values

DEGRADE_TO_UNINITIALIZED_ON_STOP

public static final String DEGRADE_TO_UNINITIALIZED_ON_STOP
This setting causes the bus to fall back to an uninitialized state when stop() is called so a directed cold start can be simulated for testing.

See Also:
Constant Field Values

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.