Top Fields Constructors Methods
org.h2.store

public final Enum FileLockMethod

extends Enum<FileLockMethod>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final FileLockMethod
FILE

This locking method means the cooperative file locking protocol should be used.

public static final FileLockMethod
FS

Use the file system to lock the file; don't use a separate lock file.

public static final FileLockMethod
NO

This locking method means no locking is used at all.

public static final FileLockMethod
SOCKET

This locking method means a socket is created on the given machine.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static FileLockMethod
public static FileLockMethod[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

FILEback to summary
public static final FileLockMethod FILE

This locking method means the cooperative file locking protocol should be used.

FSback to summary
public static final FileLockMethod FS

Use the file system to lock the file; don't use a separate lock file.

NOback to summary
public static final FileLockMethod NO

This locking method means no locking is used at all.

SOCKETback to summary
public static final FileLockMethod SOCKET

This locking method means a socket is created on the given machine.

Constructor Detail

FileLockMethodback to summary
private FileLockMethod()

Method Detail

valueOfback to summary
public static FileLockMethod valueOf(String name)
valuesback to summary
public static FileLockMethod[] values()