public class

Watchdog

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.concurrent.Watchdog

Class Overview

Enforce time-outs on operations and throw OperationTimedOutException. Same as TimedOperationVerifier.

Summary

Public Constructors
Watchdog(long t0, long maxExecTime)
Watchdog(long maxExecTime)
Watchdog()
Public Methods
long getInitTime()
long getMaxExecTime()
static void reportInterruption(InterruptedException e)
static void verify(Watchdog o)
void verify()
static void verifyInterruptions()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Watchdog (long t0, long maxExecTime)

public Watchdog (long maxExecTime)

public Watchdog ()

Public Methods

public long getInitTime ()

public long getMaxExecTime ()

public static void reportInterruption (InterruptedException e)

public static void verify (Watchdog o)

public void verify ()

public static void verifyInterruptions ()