Class TableState
java.lang.Object
org.apache.commons.jcs3.auxiliary.disk.jdbc.TableState
- All Implemented Interfaces:
- Serializable
This is used by various elements of the JDBC disk cache to indicate the
 status of a table. The MySQL disk cache, for instance, marks the status as
 optimizing when a scheduled optimization is taking place. This allows the
 cache to balk rather than block during long running optimizations.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intA potentially table locking deletion is runningstatic final intThe table is free.static final intA table locking optimization is running.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetState()voidsetState(int state) voidsetTableName(String tableName) toString()Write out the values for debugging purposes.
- 
Field Details- 
FREEThe table is free. It can be accessed and no potentially table locking jobs are running.- See Also:
 
- 
DELETE_RUNNINGA potentially table locking deletion is running- See Also:
 
- 
OPTIMIZATION_RUNNINGA table locking optimization is running.- See Also:
 
 
- 
- 
Constructor Details- 
TableStateConstruct a usable table state.- Parameters:
- tableName-
 
 
- 
- 
Method Details