Annotation Interface ReadOnly


@Inherited @Retention(RUNTIME) @Target(METHOD) @Private @Evolving public @interface ReadOnly
Marker interface used to annotate methods that are readonly.
  • Element Details

    • atimeAffected

      boolean atimeAffected
      Returns:
      if true, the annotated method may update the last accessed time while performing its read, if access time is enabled.
      Default:
      false
    • activeOnly

      boolean activeOnly
      Returns:
      if true, the target method should only be invoked on the active namenode. This applies to operations that need to access information that is only available on the active namenode.
      Default:
      false
    • isCoordinated

      boolean isCoordinated
      Returns:
      if true, when processing the rpc call of the target method, the server side will wait if server state id is behind client (msync). If false, the method will be processed regardless of server side state.
      Default:
      false