com.ibm.websphere.naming
Interface WsnBatchCompleteResults
- public interface WsnBatchCompleteResults
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:
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getOverallResults()
This method provides a convient way to check the overall results of all batch operations.
|
|
getResultEnumeration()
Returns the enumeration of all batch results.
|
Method Detail
getOverallResults
- 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
- java.util.Enumeration<WsnBatchResult> 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: