Compoze Software, Inc.

com.compoze.trigger
Interface ITimeoutAlgorithm

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractTimeoutAlgorithm

public interface ITimeoutAlgorithm
extends java.io.Serializable

Classes that implement this interface are capable of calculating the timeout used between successive retries of a trigger action.


Method Summary
 long getNextTimeout()
          Get the next timeout to use.
 

Method Detail

getNextTimeout


public long getNextTimeout()
Get the next timeout to use.
Returns:
the next timeout, or -1 if no more retries (in milliseconds)

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.