org.hibernate.testing.async
Class TimedExecutor

java.lang.Object
  extended by org.hibernate.testing.async.TimedExecutor

public class TimedExecutor
extends Object

Author:
Steve Ebersole

Constructor Summary
TimedExecutor(long timeOut)
           
TimedExecutor(long timeOut, int checkMilliSeconds)
           
 
Method Summary
 void execute(Executable executable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedExecutor

public TimedExecutor(long timeOut)

TimedExecutor

public TimedExecutor(long timeOut,
                     int checkMilliSeconds)
Method Detail

execute

public void execute(Executable executable)
             throws TimeoutException
Throws:
TimeoutException


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.