edu.sc.seis.fissuresUtil.cache
Interface RetryStrategy
- All Known Implementing Classes:
- BaseRetryStrategy, ClassicRetryStrategy
public interface RetryStrategy
Used by the Retry wrappers to determine if another try should be made to the
server.
The classic Retry handling is encoded in BaseRetryStrategy's baseShouldRetry
method. If you'd just like to add some logging on top of that, it'd be a good
start. ClassicRetryStrategy does the regular implementation with logging,
reset, and waiting.
shouldRetry
boolean shouldRetry(org.omg.CORBA.SystemException exc,
CorbaServerWrapper server,
int tryCount)
serverRecovered
void serverRecovered(CorbaServerWrapper server)