Package oracle.nosql.driver.ops
Class Result
- java.lang.Object
-
- oracle.nosql.driver.ops.Result
-
- Direct Known Subclasses:
GetIndexesResult
,GetResult
,ListTablesResult
,MultiDeleteResult
,PrepareResult
,QueryIterableResult
,QueryResult
,SystemResult
,TableResult
,TableUsageResult
,WriteMultipleResult
,WriteResult
public class Result extends Object
Result is a base class for result classes for all supported operations. All state and methods are maintained by extending classes.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRateLimitDelayedMs()
Get the time the operation was delayed due to rate limiting.RetryStats
getRetryStats()
Returns a stats object with information about retries.
-
-
-
Method Detail
-
getRateLimitDelayedMs
public int getRateLimitDelayedMs()
Get the time the operation was delayed due to rate limiting. Cloud only. If rate limiting is in place, this value will represent the number of milliseconds that the operation was delayed due to rate limiting. If the value is zero, rate limiting did not apply or the operation did not need to wait for rate limiting.- Returns:
- delay time in milliseconds
- Since:
- 5.2.25
-
getRetryStats
public RetryStats getRetryStats()
Returns a stats object with information about retries.- Returns:
- stats object with retry information, or null if no retries were performed.
-
-