JavaScript is disabled on your browser.
OpenAM Server Only 5.5.2 Documentation
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static interface
Debug.Dbg
Constructor Summary
Constructors
Constructor and Description
Debug ()
Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
now
public static long now()
suspend
public static boolean suspend()
Assert this method invocation anywhere you want to suspend a thread. For
example, add this to cause execution to be suspended:
assert(Debug.suspend());
This method always returns true so there will never be an AssertionError
thrown.
Returns:
true
debugPause
public static void debugPause(float probability,
long millis)
Debugging aid: code can invoke this method to introduce a pause.
Parameters:
probability
- Probability of pausing: 0 - 1.0f
millis
- time interval in milliseconds
OpenAM Server Only 5.5.2 Documentation
Copyright © 2010-2020, ForgeRock All Rights Reserved.