biz.hammurapi.config
Interface RestartCommand
- All Superinterfaces:
- java.lang.Runnable
public interface RestartCommand
- extends java.lang.Runnable
Methods inherited from interface java.lang.Runnable |
run |
RESTART_DELARY_PROPERTY
static final java.lang.String RESTART_DELARY_PROPERTY
DEFAULT_RESTART_DELAY
static final long DEFAULT_RESTART_DELAY
- See Also:
- Constant Field Values
getAttempt
int getAttempt()
- Returns:
- Number of times the command was already executed.
getRestartDelay
long getRestartDelay()
- Returns:
- Number of milliseconds the command waits before creating
and starting the object. The command waits only if number of attempts is
more than zero. The value is taken from the system property with the name
specified in RESTART_DELAY_PROPERTY constant. Default restart delay is specified in
DEFAULT_RESTART_DELAY constant.
Copyright © 2003 Hammurapi Group. All Rights Reserved.