com.sun.sgs.app
Interface ExceptionRetryStatus

All Known Implementing Classes:
MessageRejectedException, ObjectIOException, ResourceUnavailableException, TaskRejectedException, TransactionAbortedException, TransactionConflictException, TransactionNotActiveException, TransactionTimeoutException

public interface ExceptionRetryStatus

Implemented by exception classes that want to control whether an operation that throws an exception of that exception should be retried.


Method Summary
 boolean shouldRetry()
          Provides information about whether an operation that threw this exception should be retried.
 

Method Detail

shouldRetry

boolean shouldRetry()
Provides information about whether an operation that threw this exception should be retried.

Returns:
true if the operation should be retried, else false

Project Darkstar, Version 0.9.9.6
2009-05-08 15:39:40

Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved