Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual LockMode

Lock modes for read operations.

  • SHARED: Set a shared lock on rows

  • EXCLUSIVE: Set an exclusive lock on rows

  • READ_COMMITTED: Set no locks but read the most recent committed values Synopsis
 public final class LockMode extends, Enum<LockMode> {
// Public Static Fields  public static final LockMode EXCLUSIVE ;
  public static final LockMode READ_COMMITTED ;
  public static final LockMode SHARED ;
// Public Static Methods  public static LockMode valueOf(String name);
  public static LockMode[] values();

Methods inherited from java.lang.Enum: compareTo , equals , getDeclaringClass , hashCode , name , ordinal , toString , valueOf

Methods inherited from java.lang.Object: getClass , notify , notifyAll , wait

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.