|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.mvstore.db.MVTableEngine.Store
public static class MVTableEngine.Store
A store with open tables.
Constructor Summary | |
---|---|
MVTableEngine.Store(Database db,
MVStore store)
|
Method Summary | |
---|---|
void |
close(long maxCompactTime)
Close the store. |
void |
closeImmediately()
Close the store, without persisting changes. |
void |
compactFile(long maxCompactTime)
Compact the database file, that is, compact blocks that have a low fill rate, and move chunks next to each other. |
void |
flush()
Store all pending changes. |
java.util.ArrayList<InDoubtTransaction> |
getInDoubtTransactions()
|
java.io.InputStream |
getInputStream()
|
MVStore |
getStore()
|
java.util.HashMap<java.lang.String,MVTable> |
getTables()
|
TransactionStore |
getTransactionStore()
|
void |
initTransactions()
Commit all transactions that are in the committing state, and rollback all open transactions. |
java.lang.String |
nextTemporaryMapName()
Get the name of the next available temporary map. |
void |
prepareCommit(Session session,
java.lang.String transactionName)
Prepare a transaction. |
void |
removeTable(MVTable table)
Remove a table. |
void |
removeTemporaryMaps()
Remove all temporary maps. |
void |
setCacheSize(int kb)
|
java.util.Map<java.lang.String,java.lang.Integer> |
statisticsEnd()
Stop collecting statistics. |
void |
statisticsStart()
Start collecting statistics. |
void |
sync()
Force the changes to disk. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MVTableEngine.Store(Database db, MVStore store)
Method Detail |
---|
public MVStore getStore()
public TransactionStore getTransactionStore()
public java.util.HashMap<java.lang.String,MVTable> getTables()
public void removeTable(MVTable table)
table
- the tablepublic void flush()
public void closeImmediately()
public void initTransactions()
public void removeTemporaryMaps()
public java.lang.String nextTemporaryMapName()
public void prepareCommit(Session session, java.lang.String transactionName)
session
- the sessiontransactionName
- the transaction name (may be null)public java.util.ArrayList<InDoubtTransaction> getInDoubtTransactions()
public void setCacheSize(int kb)
public java.io.InputStream getInputStream()
public void sync()
public void compactFile(long maxCompactTime)
maxCompactTime
- the maximum time in milliseconds to compactpublic void close(long maxCompactTime)
maxCompactTime
- the maximum time in milliseconds to compactpublic void statisticsStart()
public java.util.Map<java.lang.String,java.lang.Integer> statisticsEnd()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |