Documentation Home
MySQL NDB Cluster API Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 3.6Mb
PDF (A4) - 3.6Mb


4.3.1.16 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.16.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