站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

FixedDelayRetryPolicyMBean (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.txtimer
Interface FixedDelayRetryPolicyMBean

All Superinterfaces:
RetryPolicy, org.jboss.system.Service
All Known Implementing Classes:
FixedDelayRetryPolicy

public interface FixedDelayRetryPolicyMBean
extends org.jboss.system.Service, RetryPolicy

MBean interface.

Since:
07-Apr-2004

Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
Method Summary
 long getDelay()
          Get the delay for retry
 void retryTimeout(TimedObjectInvoker invoker, javax.ejb.Timer timer)
          Invokes the ejbTimeout method on the TimedObject with the given id.
 void setDelay(long delay)
          Set the delay for retry
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

getDelay

public long getDelay()
Get the delay for retry

Returns:
delay in ms

setDelay

public void setDelay(long delay)
Set the delay for retry

Parameters:
delay - in ms

retryTimeout

public void retryTimeout(TimedObjectInvoker invoker,
                         javax.ejb.Timer timer)
Invokes the ejbTimeout method on the TimedObject with the given id.

Specified by:
retryTimeout in interface RetryPolicy
Parameters:
invoker - The invoker for the TimedObject
timer - the Timer that is passed to ejbTimeout


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.