AtMostOnce (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.io.retry, annotation type: AtMostOnce

Package org.apache.hadoop.io.retry

# Annotation Interface AtMostOnce

@Inherited @Retention(RUNTIME) @Target(METHOD) @Evolving public @interface AtMostOnce
Used to mark certain methods of an interface with at-most-once semantics. Server must guarantee that methods are executed at most once, by keeping a retry cache. The previous response must be returned when duplicate requests are received. Because of these guarantee, a client can retry this request on failover and other network failure conditions.