Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.3Mb
PDF (A4) - 5.3Mb
EPUB - 2.3Mb
HTML Download (TGZ) - 2.2Mb
HTML Download (Zip) - 2.3Mb 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

Figure 4.15 LockMode Class

LockMode Class

User Comments
Sign Up Login You must be logged in to post a comment.