final class RetryingComJSEnv extends ComJSEnv
A RetryingComJSEnv allows to automatically retry if a call to the underlying ComJSRunner fails.
While it protects the JVM side from observing state that differs inbetween runs that have been retried, it assumes that the executed JavaScript code does not have side-effects other than the ones visible through the channel (e.g. writing to a file). It is the users responsibility to ensure this property.
No retrying is performed for synchronous, or normal asynchronous runs.
Although RetryingComJSEnv
is agnostic of the underlying JS env, and is
therefore not tied to PhantomJS, it is most often used to compensate for
flakiness effects of PhantomJS.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RetryingComJSEnv
- ComJSEnv
- AsyncJSEnv
- JSEnv
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asyncRunner(files: Seq[VirtualJSFile]): AsyncJSRunner
- Definition Classes
- RetryingComJSEnv → AsyncJSEnv
- val baseEnv: ComJSEnv
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
comRunner(files: Seq[VirtualJSFile]): ComJSRunner
- Definition Classes
- RetryingComJSEnv → ComJSEnv
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jsRunner(files: Seq[VirtualJSFile]): JSRunner
- Definition Classes
- RetryingComJSEnv → JSEnv
- val maxRetries: Int
-
def
name: String
- Definition Classes
- RetryingComJSEnv → JSEnv
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )