Package oracle.kv
Interface IterationSubscription
- All Superinterfaces:
Subscription
- All Known Subinterfaces:
ExecutionSubscription
A subinterface of
Subscription
implemented by subscriptions supplied
when a Subscriber
subscribes to a Publisher
associated with
an asynchronous table iteration.-
Method Summary
Modifier and TypeMethodDescriptionReturns per-partition metrics for the iteration.Returns per-shard metrics for the iteration.Methods inherited from interface org.reactivestreams.Subscription
cancel, request
-
Method Details
-
getPartitionMetrics
List<DetailedMetrics> getPartitionMetrics()Returns per-partition metrics for the iteration. This method may be called at any time during an iteration in order to obtain metrics to that point or it may be called at the end to obtain metrics for the entire scan. If there are no metrics available yet for a particular partition, then that partition will not have an entry in the list.- Returns:
- the per-partition metrics for iteration
-
getShardMetrics
List<DetailedMetrics> getShardMetrics()Returns per-shard metrics for the iteration. This method may be called at any time during an iteration in order to obtain metrics to that point or it may be called at the end to obtain metrics for the entire scan. If there are no metrics available yet for a particular shard, then that shard will not have an entry in the list.- Returns:
- the per-shard metrics for the iteration
-