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.
getNextTimeout
public long getNextTimeout()
- Get the next timeout to use.
- Returns:
- the next timeout, or -1 if no more retries (in milliseconds)
Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.