org.apache.openjpa.kernel
Interface LockLevels

All Known Subinterfaces:
Broker, FetchConfiguration, JDBCFetchConfiguration, JDBCLockManager, LockManager
All Known Implementing Classes:
AbstractLockManager, BrokerImpl, DelegatingBroker, DelegatingFetchConfiguration, DelegatingJDBCFetchConfiguration, FetchConfigurationImpl, FinalizingBrokerImpl, JDBCFetchConfigurationImpl, NoneLockManager, PessimisticLockManager, VersionLockManager

public interface LockLevels

Standard object lock levels.

Since:
0.4.0
Author:
Abe White

Field Summary
static int LOCK_NONE
          No lock.
static int LOCK_READ
          Generic read lock level.
static int LOCK_WRITE
          Generic write lock level.
 

Field Detail

LOCK_NONE

static final int LOCK_NONE
No lock. Value of 0.

See Also:
Constant Field Values

LOCK_READ

static final int LOCK_READ
Generic read lock level. Value of 10.

See Also:
Constant Field Values

LOCK_WRITE

static final int LOCK_WRITE
Generic write lock level. Value of 20.

See Also:
Constant Field Values


Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.