com.ibm.websphere.naming
Interface WsnBatchCompleteResults
- public interface WsnBatchCompleteResults
An instance of this interface is returned from the method, executeBatchedOperations(),
in the class com.ibm.websphere.naming.WsnBatchModeContext. The instance can be
invoked to obtain the results from each individual batched operation. As a quick way
to determine if any exceptions occurred at all, the client can query the instance for
the overall batch results.
- See Also:
WsnBatchModeContext
Method Summary |
int |
getOverallResults()
This method provides a convient way to check the overall results of all batch operations. |
java.util.Enumeration |
getResultEnumeration()
Returns the enumeration of all batch results. |
getOverallResults
public int getOverallResults()
- This method provides a convient way to check the overall results of all batch operations.
If the entire batch executed successfully, 0 is returned.
- Returns:
- the total number of exceptions which resulted from executing the batch.
getResultEnumeration
public java.util.Enumeration getResultEnumeration()
- Returns the enumeration of all batch results. Objects in the enumeration
are of the type, com.ibm.websphere.naming.WsnBatchResult.
- Returns:
- an Enumeration of com.ibm.websphere.naming.WsnBatchResult objects.
- See Also:
WsnBatchResult