Top Description Inners Fields Constructors Methods
org.h2.mvstore.db

public Class MVTable

extends TableBase
Class Inheritance
Imports
java.util.ArrayDeque, .ArrayList, .HashSet, .Set, java.util.concurrent.ConcurrentHashMap, java.util.concurrent.atomic.AtomicInteger, .AtomicLong, org.h2.api.DatabaseEventListener, .ErrorCode, org.h2.command.ddl.CreateTableData, org.h2.constraint.Constraint, .ConstraintReferential, org.h2.engine.Constants, .Database, .SessionLocal, .SysProperties, org.h2.index.Cursor, .Index, .IndexType, org.h2.message.DbException, .Trace, org.h2.mode.DefaultNullOrdering, org.h2.mvstore.DataUtils, .MVStoreException, org.h2.mvstore.tx.Transaction, .TransactionStore, org.h2.result.Row, .SearchRow, .SortOrder, org.h2.table.Column, .IndexColumn, .Table, .TableBase, .TableType, org.h2.util.DebuggingThreadLocal, .Utils, org.h2.value.DataType, .TypeInfo

A table stored in a MVStore.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static enum
MVTable.TraceLockEvent

The type of trace lock events

Field Summary

Modifier and TypeField and Description
private final AtomicInteger
private final boolean
containsLargeObject

Whether the table contains a CLOB or BLOB.

public static final DebuggingThreadLocal<ArrayList<String>>
EXCLUSIVE_LOCKS

The table names this thread has exclusively locked.

private final ArrayList<Index>
private final AtomicLong
private volatile SessionLocal
lockExclusiveSession

The session (if any) that has exclusively locked this table.

private final ConcurrentHashMap<SessionLocal, SessionLocal>
lockSharedSessions

The set of sessions (if any) that have a shared lock on the table.

private int
private static final String
private final MVPrimaryIndex
private Column
public static final DebuggingThreadLocal<ArrayList<String>>
SHARED_LOCKS

The tables names this thread has a shared lock on.

private final Store
private final Trace
private final TransactionStore
public static final DebuggingThreadLocal<String>
WAITING_FOR_LOCK

The table name this thread is waiting to lock.

private final ArrayDeque<SessionLocal>
waitingSessions

The queue of sessions waiting to lock the table.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Index
addIndex(SessionLocal
the session
session
,
String
the name of the index
indexName
,
int
the id
indexId
,
IndexColumn[]
the index columns
cols
,
int
the count of unique columns
uniqueColumnCount
,
IndexType
the index type
indexType
,
boolean
whether this is a new index
create
,
String
the comment
indexComment
)

Implements abstract org.h2.table.Table.addIndex.

Create an index for this table

private void
public void
addRow(SessionLocal
the session
session
,
Row
the row
row
)

Implements abstract org.h2.table.Table.addRow.

Add a row to the table and all indexes.

private static void
addRowsToIndex(SessionLocal
the session
session
,
ArrayList<Row>
the rows, list is cleared on completion
list
,
Index
the index to append to
index
)

Appends the specified rows to the specified index.

public void
afterCommit()

Called after commit to increment database data modification counter for this table.

private void
public boolean
canDrop()

Implements abstract org.h2.table.Table.canDrop.

Check if this table can be dropped.

public boolean
canGetRowCount(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.canGetRowCount.

Check if the row count can be retrieved quickly.

public boolean
canTruncate()

Overrides org.h2.table.Table.canTruncate.

Check if this table can be truncated.

public ArrayList<SessionLocal>
checkDeadlock(SessionLocal
the session to be tested for
session
,
SessionLocal
set with sessions already visited, and null when starting verification
clash
,
Set<SessionLocal>
set with sessions already visited, and null when starting verification
visited
)

Overrides org.h2.table.Table.checkDeadlock.

Check if a deadlock occurred.

public void
checkSupportAlter()

Implements abstract org.h2.table.Table.checkSupportAlter.

Check if this table supports ALTER TABLE.

public void
close(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.close.

Close the table object and flush changes.

pack-priv DbException

Returns:

the database exception
convertException
(MVStoreException
the illegal state exception
e
)

Convert the MVStoreException to a database exception.

private DbException
convertException(MVStoreException e, boolean lockException)

pack-priv DbException

Returns:

the database exception
convertLockException
(MVStoreException
the illegal state exception
e
)

Convert the MVStoreException from attempt to lock a row to a database exception.

private void
doLock1(SessionLocal session, int lockType)

private boolean
doLock2(SessionLocal session, int lockType)

public boolean
private static String

Returns:

formatted details of a deadlock
getDeadlockDetails
(ArrayList<SessionLocal>
the list of sessions
sessions
,
int
the type of lock
lockType
)

Formats details of a deadlock.

public long
getDiskSpaceUsed(boolean total, boolean approximate)

Overrides org.h2.table.Table.getDiskSpaceUsed.

public ArrayList<Index>
getIndexes()

Implements abstract org.h2.table.Table.getIndexes.

Get all indexes for this table.

public int
getMainIndexColumn()

Overrides org.h2.table.Table.getMainIndexColumn.

Returns ID of main index column, or SearchRow#ROWID_INDEX.

public String
public long
getMaxDataModificationId()

Implements abstract org.h2.table.Table.getMaxDataModificationId.

Get the last data modification id.

public Row
getRow(SessionLocal
the session
session
,
long
the primary key
key
)

Overrides org.h2.table.Table.getRow.

Get the given row.

public long
getRowCount(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.getRowCount.

Get the row count for this table.

public long
getRowCountApproximation(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.getRowCountApproximation.

Get the approximated row count for this table.

public Column
getRowIdColumn()

Overrides org.h2.table.Table.getRowIdColumn.

Get the row id column if this table has one.

public Index
getScanIndex(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.getScanIndex.

Get the scan index to iterate through all rows.

public TableType
getTableType()

Implements abstract org.h2.table.Table.getTableType.

Get the table type name

pack-priv Transaction

Returns:

the transaction
getTransactionBegin
()

Get a new transaction.

protected void
invalidate()

Overrides org.h2.engine.DbObject.invalidate.

Set the main attributes to null to make sure the object is no longer used.

public boolean
isDeterministic()

Implements abstract org.h2.table.Table.isDeterministic.

Check if the table is deterministic.

public boolean
isLockedExclusively()

Overrides org.h2.table.Table.isLockedExclusively.

Check if this table is locked exclusively.

public boolean
isLockedExclusivelyBy(SessionLocal
the session
session
)

Overrides org.h2.table.Table.isLockedExclusivelyBy.

Check if the table is exclusively locked by this session.

public boolean
isRowLockable()

Overrides org.h2.table.Table.isRowLockable.

Views, function tables, links, etc. do not support locks

public boolean
lock(SessionLocal
the session
session
,
int
the type of lock
lockType
)

Overrides org.h2.table.Table.lock.

Lock the table for the given session.

public Row
lockRow(SessionLocal
the session
session
,
Row
to lock
row
,
int
timeout in milliseconds, -1 for default, -2 to skip locking if row is already locked by another session
timeoutMillis
)

Overrides org.h2.table.Table.lockRow.

Locks row, preventing any updated to it, except from the session specified.

private static String
lockTypeToString(int lockType)

private static IndexColumn[]

Returns:

the prepared columns with flags set
prepareColumns
(Database
the database
database
,
IndexColumn[]
the index columns
cols
,
IndexType
the type of an index
indexType
)

Prepares columns of an index.

private void
rebuildIndex(SessionLocal session, MVIndex<?, ?> index, String indexName)

private void
private void
public void
removeChildrenAndResources(SessionLocal
the session
session
)

Overrides org.h2.table.Table.removeChildrenAndResources.

Delete all dependent children objects and resources of this object.

public void
removeRow(SessionLocal
the session
session
,
Row
the row
row
)

Implements abstract org.h2.table.Table.removeRow.

Remove a row from the table and all indexes.

private static void
sortRows(ArrayList<? extends SearchRow>
the list of rows
list
,
final Index
the index to sort for
index
)

Sorts the specified list of rows for a specified index.

private void
public String
toString()

Overrides org.h2.engine.DbObject.toString.

Returns a string representation of the object.

private void
traceLock(SessionLocal session, int lockType, MVTable.TraceLockEvent eventEnum, String extraInfo)

public long
truncate(SessionLocal
the session
session
)

Implements abstract org.h2.table.Table.truncate.

Remove all rows from the table and indexes.

public void
unlock(SessionLocal
the session
s
)

Overrides org.h2.table.Table.unlock.

Release the lock for this session.

public void
updateRow(SessionLocal
the session
session
,
Row
the row to update
oldRow
,
Row
the row with updated values (_rowid_ suppose to be the same)
newRow
)

Overrides org.h2.table.Table.updateRow.

Update a row to the table and all indexes.

Inherited from org.h2.table.TableBase:
getCreateSQLgetCreateSQLForMetagetDropSQLgetMainIndexColumnisGlobalTemporary

Field Detail

changesUntilAnalyzeback to summary
private final AtomicInteger changesUntilAnalyze
containsLargeObjectback to summary
private final boolean containsLargeObject

Whether the table contains a CLOB or BLOB.

EXCLUSIVE_LOCKSback to summary
public static final DebuggingThreadLocal<ArrayList<String>> EXCLUSIVE_LOCKS

The table names this thread has exclusively locked.

indexesback to summary
private final ArrayList<Index> indexes
lastModificationIdback to summary
private final AtomicLong lastModificationId
lockExclusiveSessionback to summary
private volatile SessionLocal lockExclusiveSession

The session (if any) that has exclusively locked this table.

lockSharedSessionsback to summary
private final ConcurrentHashMap<SessionLocal, SessionLocal> lockSharedSessions

The set of sessions (if any) that have a shared lock on the table. Here we are using using a ConcurrentHashMap as a set, as there is no ConcurrentHashSet.

nextAnalyzeback to summary
private int nextAnalyze
NO_EXTRA_INFOback to summary
private static final String NO_EXTRA_INFO
primaryIndexback to summary
private final MVPrimaryIndex primaryIndex
rowIdColumnback to summary
private Column rowIdColumn
SHARED_LOCKSback to summary
public static final DebuggingThreadLocal<ArrayList<String>> SHARED_LOCKS

The tables names this thread has a shared lock on.

storeback to summary
private final Store store
traceLockback to summary
private final Trace traceLock
transactionStoreback to summary
private final TransactionStore transactionStore
WAITING_FOR_LOCKback to summary
public static final DebuggingThreadLocal<String> WAITING_FOR_LOCK

The table name this thread is waiting to lock.

waitingSessionsback to summary
private final ArrayDeque<SessionLocal> waitingSessions

The queue of sessions waiting to lock the table. It is a FIFO queue to prevent starvation, since Java's synchronized locking is biased.

Constructor Detail

MVTableback to summary
public MVTable(CreateTableData data, Store store)

Method Detail

addIndexback to summary
public Index addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment)

Implements abstract org.h2.table.Table.addIndex.

Doc from org.h2.table.Table.addIndex.

Create an index for this table

Parameters
session:SessionLocal

the session

indexName:String

the name of the index

indexId:int

the id

cols:IndexColumn[]

the index columns

uniqueColumnCount:int

the count of unique columns

indexType:IndexType

the index type

create:boolean

whether this is a new index

indexComment:String

the comment

Returns:Index

the index

Annotations
@Override
addLockToDebugListback to summary
private void addLockToDebugList(DebuggingThreadLocal<ArrayList<String>> locks)
addRowback to summary
public void addRow(SessionLocal session, Row row)

Implements abstract org.h2.table.Table.addRow.

Doc from org.h2.table.Table.addRow.

Add a row to the table and all indexes.

Parameters
session:SessionLocal

the session

row:Row

the row

Annotations
@Override
addRowsToIndexback to summary
private static void addRowsToIndex(SessionLocal session, ArrayList<Row> list, Index index)

Appends the specified rows to the specified index.

Parameters
session:SessionLocal

the session

list:ArrayList<Row>

the rows, list is cleared on completion

index:Index

the index to append to

afterCommitback to summary
public void afterCommit()

Called after commit to increment database data modification counter for this table.

analyzeIfRequiredback to summary
private void analyzeIfRequired(SessionLocal session)
canDropback to summary
public boolean canDrop()

Implements abstract org.h2.table.Table.canDrop.

Doc from org.h2.table.Table.canDrop.

Check if this table can be dropped.

Returns:boolean

true if it can

Annotations
@Override
canGetRowCountback to summary
public boolean canGetRowCount(SessionLocal session)

Implements abstract org.h2.table.Table.canGetRowCount.

Doc from org.h2.table.Table.canGetRowCount.

Check if the row count can be retrieved quickly.

Parameters
session:SessionLocal

the session

Returns:boolean

true if it can

Annotations
@Override
canTruncateback to summary
public boolean canTruncate()

Overrides org.h2.table.Table.canTruncate.

Doc from org.h2.table.Table.canTruncate.

Check if this table can be truncated.

Returns:boolean

true if it can

Annotations
@Override
checkDeadlockback to summary
public ArrayList<SessionLocal> checkDeadlock(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited)

Overrides org.h2.table.Table.checkDeadlock.

Doc from org.h2.table.Table.checkDeadlock.

Check if a deadlock occurred. This method is called recursively. There is a circle if the session to be tested has already being visited. If this session is part of the circle (if it is the clash session), the method must return an empty object array. Once a deadlock has been detected, the methods must add the session to the list. If this session is not part of the circle, or if no deadlock is detected, this method returns null.

Parameters
session:SessionLocal

the session to be tested for

clash:SessionLocal

set with sessions already visited, and null when starting verification

visited:Set<SessionLocal>

set with sessions already visited, and null when starting verification

Returns:ArrayList<SessionLocal>

an object array with the sessions involved in the deadlock, or null

Annotations
@Override
checkSupportAlterback to summary
public void checkSupportAlter()

Implements abstract org.h2.table.Table.checkSupportAlter.

Doc from org.h2.table.Table.checkSupportAlter.

Check if this table supports ALTER TABLE.

Annotations
@Override
closeback to summary
public void close(SessionLocal session)

Implements abstract org.h2.table.Table.close.

Doc from org.h2.table.Table.close.

Close the table object and flush changes.

Parameters
session:SessionLocal

the session

Annotations
@Override
convertExceptionback to summary
pack-priv DbException convertException(MVStoreException e)

Convert the MVStoreException to a database exception.

Parameters
e:MVStoreException

the illegal state exception

Returns:DbException

the database exception

convertExceptionback to summary
private DbException convertException(MVStoreException e, boolean lockException)
convertLockExceptionback to summary
pack-priv DbException convertLockException(MVStoreException e)

Convert the MVStoreException from attempt to lock a row to a database exception.

Parameters
e:MVStoreException

the illegal state exception

Returns:DbException

the database exception

doLock1back to summary
private void doLock1(SessionLocal session, int lockType)
doLock2back to summary
private boolean doLock2(SessionLocal session, int lockType)
getContainsLargeObjectback to summary
public boolean getContainsLargeObject()
getDeadlockDetailsback to summary
private static String getDeadlockDetails(ArrayList<SessionLocal> sessions, int lockType)

Formats details of a deadlock.

Parameters
sessions:ArrayList<SessionLocal>

the list of sessions

lockType:int

the type of lock

Returns:String

formatted details of a deadlock

getDiskSpaceUsedback to summary
public long getDiskSpaceUsed(boolean total, boolean approximate)

Overrides org.h2.table.Table.getDiskSpaceUsed.

Annotations
@Override
getIndexesback to summary
public ArrayList<Index> getIndexes()

Implements abstract org.h2.table.Table.getIndexes.

Doc from org.h2.table.Table.getIndexes.

Get all indexes for this table.

Returns:ArrayList<Index>

the list of indexes

Annotations
@Override
getMainIndexColumnback to summary
public int getMainIndexColumn()

Overrides org.h2.table.Table.getMainIndexColumn.

Doc from org.h2.table.Table.getMainIndexColumn.

Returns ID of main index column, or SearchRow#ROWID_INDEX.

Returns:int

ID of main index column, or SearchRow#ROWID_INDEX

Annotations
@Override
getMapNameback to summary
public String getMapName()
getMaxDataModificationIdback to summary
public long getMaxDataModificationId()

Implements abstract org.h2.table.Table.getMaxDataModificationId.

Doc from org.h2.table.Table.getMaxDataModificationId.

Get the last data modification id.

Returns:long

the modification id

Annotations
@Override
getRowback to summary
public Row getRow(SessionLocal session, long key)

Overrides org.h2.table.Table.getRow.

Doc from org.h2.table.Table.getRow.

Get the given row.

Parameters
session:SessionLocal

the session

key:long

the primary key

Returns:Row

the row

Annotations
@Override
getRowCountback to summary
public long getRowCount(SessionLocal session)

Implements abstract org.h2.table.Table.getRowCount.

Doc from org.h2.table.Table.getRowCount.

Get the row count for this table.

Parameters
session:SessionLocal

the session

Returns:long

the row count

Annotations
@Override
getRowCountApproximationback to summary
public long getRowCountApproximation(SessionLocal session)

Implements abstract org.h2.table.Table.getRowCountApproximation.

Doc from org.h2.table.Table.getRowCountApproximation.

Get the approximated row count for this table.

Parameters
session:SessionLocal

the session

Returns:long

the approximated row count

Annotations
@Override
getRowIdColumnback to summary
public Column getRowIdColumn()

Overrides org.h2.table.Table.getRowIdColumn.

Doc from org.h2.table.Table.getRowIdColumn.

Get the row id column if this table has one.

Returns:Column

the row id column, or null

Annotations
@Override
getScanIndexback to summary
public Index getScanIndex(SessionLocal session)

Implements abstract org.h2.table.Table.getScanIndex.

Doc from org.h2.table.Table.getScanIndex.

Get the scan index to iterate through all rows.

Parameters
session:SessionLocal

the session

Returns:Index

the index

Annotations
@Override
getTableTypeback to summary
public TableType getTableType()

Implements abstract org.h2.table.Table.getTableType.

Doc from org.h2.table.Table.getTableType.

Get the table type name

Returns:TableType

the table type name

Annotations
@Override
getTransactionBeginback to summary
pack-priv Transaction getTransactionBegin()

Get a new transaction.

Returns:Transaction

the transaction

invalidateback to summary
protected void invalidate()

Overrides org.h2.engine.DbObject.invalidate.

Doc from org.h2.engine.DbObject.invalidate.

Set the main attributes to null to make sure the object is no longer used.

Annotations
@Override
isDeterministicback to summary
public boolean isDeterministic()

Implements abstract org.h2.table.Table.isDeterministic.

Doc from org.h2.table.Table.isDeterministic.

Check if the table is deterministic.

Returns:boolean

true if it is

Annotations
@Override
isLockedExclusivelyback to summary
public boolean isLockedExclusively()

Overrides org.h2.table.Table.isLockedExclusively.

Doc from org.h2.table.Table.isLockedExclusively.

Check if this table is locked exclusively.

Returns:boolean

true if it is.

Annotations
@Override
isLockedExclusivelyByback to summary
public boolean isLockedExclusivelyBy(SessionLocal session)

Overrides org.h2.table.Table.isLockedExclusivelyBy.

Doc from org.h2.table.Table.isLockedExclusivelyBy.

Check if the table is exclusively locked by this session.

Parameters
session:SessionLocal

the session

Returns:boolean

true if it is

Annotations
@Override
isRowLockableback to summary
public boolean isRowLockable()

Overrides org.h2.table.Table.isRowLockable.

Doc from org.h2.table.Table.isRowLockable.

Views, function tables, links, etc. do not support locks

Returns:boolean

true if table supports row-level locks

Annotations
@Override
lockback to summary
public boolean lock(SessionLocal session, int lockType)

Overrides org.h2.table.Table.lock.

Doc from org.h2.table.Table.lock.

Lock the table for the given session. This method waits until the lock is granted.

Parameters
session:SessionLocal

the session

lockType:int

the type of lock

Returns:boolean

true if the table was already exclusively locked by this session.

Annotations
@Override
lockRowback to summary
public Row lockRow(SessionLocal session, Row row, int timeoutMillis)

Overrides org.h2.table.Table.lockRow.

Doc from org.h2.table.Table.lockRow.

Locks row, preventing any updated to it, except from the session specified.

Parameters
session:SessionLocal

the session

row:Row

to lock

timeoutMillis:int

timeout in milliseconds, -1 for default, -2 to skip locking if row is already locked by another session

Returns:Row

locked row, or null if row does not exist anymore or if it was skipped

Annotations
@Override
lockTypeToStringback to summary
private static String lockTypeToString(int lockType)
prepareColumnsback to summary
private static IndexColumn[] prepareColumns(Database database, IndexColumn[] cols, IndexType indexType)

Prepares columns of an index.

Parameters
database:Database

the database

cols:IndexColumn[]

the index columns

indexType:IndexType

the type of an index

Returns:IndexColumn[]

the prepared columns with flags set

rebuildIndexback to summary
private void rebuildIndex(SessionLocal session, MVIndex<?, ?> index, String indexName)
rebuildIndexBlockMergeback to summary
private void rebuildIndexBlockMerge(SessionLocal session, MVIndex<?, ?> index)
rebuildIndexBufferedback to summary
private void rebuildIndexBuffered(SessionLocal session, Index index)
removeChildrenAndResourcesback to summary
public void removeChildrenAndResources(SessionLocal session)

Overrides org.h2.table.Table.removeChildrenAndResources.

Doc from org.h2.engine.DbObject.removeChildrenAndResources.

Delete all dependent children objects and resources of this object.

Parameters
session:SessionLocal

the session

Annotations
@Override
removeRowback to summary
public void removeRow(SessionLocal session, Row row)

Implements abstract org.h2.table.Table.removeRow.

Doc from org.h2.table.Table.removeRow.

Remove a row from the table and all indexes.

Parameters
session:SessionLocal

the session

row:Row

the row

Annotations
@Override
sortRowsback to summary
private static void sortRows(ArrayList<? extends SearchRow> list, final Index index)

Sorts the specified list of rows for a specified index.

Parameters
list:ArrayList<? extends SearchRow>

the list of rows

index:Index

the index to sort for

syncLastModificationIdWithDatabaseback to summary
private void syncLastModificationIdWithDatabase()
toStringback to summary
public String toString()

Overrides org.h2.engine.DbObject.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
traceLockback to summary
private void traceLock(SessionLocal session, int lockType, MVTable.TraceLockEvent eventEnum, String extraInfo)
truncateback to summary
public long truncate(SessionLocal session)

Implements abstract org.h2.table.Table.truncate.

Doc from org.h2.table.Table.truncate.

Remove all rows from the table and indexes.

Parameters
session:SessionLocal

the session

Returns:long

number of removed rows, possibly including uncommitted rows

Annotations
@Override
unlockback to summary
public void unlock(SessionLocal s)

Overrides org.h2.table.Table.unlock.

Doc from org.h2.table.Table.unlock.

Release the lock for this session.

Parameters
s:SessionLocal

the session

Annotations
@Override
updateRowback to summary
public void updateRow(SessionLocal session, Row oldRow, Row newRow)

Overrides org.h2.table.Table.updateRow.

Doc from org.h2.table.Table.updateRow.

Update a row to the table and all indexes.

Parameters
session:SessionLocal

the session

oldRow:Row

the row to update

newRow:Row

the row with updated values (_rowid_ suppose to be the same)

Annotations
@Override
org.h2.mvstore.db back to summary

private final Enum MVTable.TraceLockEvent

extends Enum<MVTable.TraceLockEvent>
Class Inheritance

The type of trace lock events

Field Summary

Modifier and TypeField and Description
private final String
public static final MVTable.TraceLockEvent
public static final MVTable.TraceLockEvent
public static final MVTable.TraceLockEvent
public static final MVTable.TraceLockEvent
public static final MVTable.TraceLockEvent
public static final MVTable.TraceLockEvent
public static final MVTable.TraceLockEvent

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

eventTextback to summary
private final String eventText
TRACE_LOCK_ADD_UPGRADED_FORback to summary
public static final MVTable.TraceLockEvent TRACE_LOCK_ADD_UPGRADED_FOR
TRACE_LOCK_ADDED_FORback to summary
public static final MVTable.TraceLockEvent TRACE_LOCK_ADDED_FOR
TRACE_LOCK_OKback to summary
public static final MVTable.TraceLockEvent TRACE_LOCK_OK
TRACE_LOCK_REQUESTING_FORback to summary
public static final MVTable.TraceLockEvent TRACE_LOCK_REQUESTING_FOR
TRACE_LOCK_TIMEOUT_AFTERback to summary
public static final MVTable.TraceLockEvent TRACE_LOCK_TIMEOUT_AFTER
TRACE_LOCK_UNLOCKback to summary
public static final MVTable.TraceLockEvent TRACE_LOCK_UNLOCK
TRACE_LOCK_WAITING_FORback to summary
public static final MVTable.TraceLockEvent TRACE_LOCK_WAITING_FOR

Constructor Detail

TraceLockEventback to summary
private TraceLockEvent(String eventText)

Method Detail

getEventTextback to summary
public String getEventText()
valueOfback to summary
public static MVTable.TraceLockEvent valueOf(String name)
valuesback to summary
public static MVTable.TraceLockEvent[] values()