[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eReadPolicy\u003c/code\u003e is a final class that defines the policy for read operations, inheriting from \u003ccode\u003ejava.lang.Object\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReadPolicy\u003c/code\u003e class includes a constructor \u003ccode\u003eReadPolicy(ReadPolicy.Consistency consistency)\u003c/code\u003e that takes a \u003ccode\u003eReadPolicy.Consistency\u003c/code\u003e parameter to define the consistency level.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetConsistency()\u003c/code\u003e is a method that returns the current \u003ccode\u003eReadPolicy.Consistency\u003c/code\u003e level.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eequals(@Nullable Object o)\u003c/code\u003e method checks if the current \u003ccode\u003eReadPolicy\u003c/code\u003e object is equal to another object, overriding the base \u003ccode\u003eObject.equals()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehashCode()\u003c/code\u003e method returns the hash code for the \u003ccode\u003eReadPolicy\u003c/code\u003e instance, overriding the base \u003ccode\u003eObject.hashCode()\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# Class ReadPolicy (2.0.0)\n\n public final class ReadPolicy\n\nPolicy for reads. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e ReadPolicy \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### ReadPolicy(ReadPolicy.Consistency consistency)\n\n public ReadPolicy(ReadPolicy.Consistency consistency)\n\nMethods\n-------\n\n### equals(@Nullable Object o)\n\n public boolean equals(@Nullable Object o)\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getConsistency()\n\n public ReadPolicy.Consistency getConsistency()\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)"]]