org.rhq.enterprise.server.common
Annotation Type InterruptOnTransactionTimeout


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface InterruptOnTransactionTimeout

This annotation indicates whether or not the thread executing the method should be notified via an interrupt if and when its transaction times out. If the method is invoked outside the scope of any transaction, this annotation is meaningless.

Author:
John Mazzitelli

Optional Element Summary
 boolean value
          When true, the thread executing this method will be interrupted if its transaction times out.
 

value

public abstract boolean value
When true, the thread executing this method will be interrupted if its transaction times out. If false, the thread will continue without any notification if the transaction times out.

Returns:
interrupt flag (default is DEFAULT_VALUE)
Default:
false


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.