Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 4.8Mb
PDF (A4) - 4.8Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.8Mb
HTML Download (Zip) - 1.9Mb


4.3.1.15 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

4.3.1.15.1 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.14 LockMode Class

LockMode Class


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