| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final MVStore | mvStore
The store. |
| private long | |
| private final ConcurrentHashMap | tableMap
The map of open tables. |
| private int | |
| private final TransactionStore | transactionStore
The transaction store. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close(int
time (in milliseconds) allotted for store
housekeeping activity, 0 means none,
-1 means unlimited time (i.e.full compaction) allowedCompactionTime)Close the store. |
| public void | |
| private static void | |
| public void | compactFile(int
the maximum time in milliseconds to compact maxCompactTime)Compact the database file, that is, compact blocks that have a low fill rate, and move chunks next to each other. |
| pack-priv DbException | Returns: the database exceptionthe illegal state exception e)Convert a MVStoreException to the similar exception used for the table/sql layers. |
| public MVTable | |
| pack-priv static char[] | Returns: password as char[].password as byte[] key)Convert password from byte[] to char[]. |
| public void | |
| public ArrayList | |
| public static DbException | Returns: the exceptionthe name of the parameter param, Typed the expression e)Gets a SQL exception meaning the type of expression is invalid or unknown. |
| public MVStore | |
| public MVTable | |
| public TransactionStore | |
| public synchronized String | |
| public void | prepareCommit(SessionLocal
the session session, String the transaction name (may be null) transactionName)Prepare a transaction. |
| public void | |
| public void | |
| public void | |
| public Map | |
| public void | |
| public void |
| encrypted | back to summary |
|---|---|
| private final boolean encrypted | |
| fileName | back to summary |
|---|---|
| private final String fileName | |
| mvStore | back to summary |
|---|---|
| private final MVStore mvStore The store. | |
| statisticsStart | back to summary |
|---|---|
| private long statisticsStart | |
| tableMap | back to summary |
|---|---|
| private final ConcurrentHashMap<String, MVTable> tableMap The map of open tables. Key: the map name, value: the table. | |
| temporaryMapId | back to summary |
|---|---|
| private int temporaryMapId | |
| transactionStore | back to summary |
|---|---|
| private final TransactionStore transactionStore The transaction store. | |
| Store | back to summary |
|---|---|
| public Store(Database db, byte[] key) Creates the store.
| |
| close | back to summary |
|---|---|
| public void close(int allowedCompactionTime) Close the store. Pending changes are persisted.
| |
| closeImmediately | back to summary |
|---|---|
| public void closeImmediately() Close the store, without persisting changes. | |
| compact | back to summary |
|---|---|
| private static void compact(String sourceFilename, FileStore<?> targetFileStore) | |
| compactFile | back to summary |
|---|---|
| public void compactFile(int maxCompactTime) Compact the database file, that is, compact blocks that have a low fill rate, and move chunks next to each other. This will typically shrink the database file. Changes are flushed to the file, and old chunks are overwritten.
| |
| convertMVStoreException | back to summary |
|---|---|
| pack-priv DbException convertMVStoreException(MVStoreException e) Convert a MVStoreException to the similar exception used for the table/sql layers.
| |
| createTable | back to summary |
|---|---|
| public MVTable createTable(CreateTableData data) Create a table.
| |
| decodePassword | back to summary |
|---|---|
| pack-priv static char[] decodePassword(byte[] key) Convert password from byte[] to char[].
| |
| flush | back to summary |
|---|---|
| public void flush() Store all pending changes. | |
| getInDoubtTransactions | back to summary |
|---|---|
| public ArrayList | |
| getInvalidExpressionTypeException | back to summary |
|---|---|
| public static DbException getInvalidExpressionTypeException(String param, Typed e) Gets a SQL exception meaning the type of expression is invalid or unknown.
| |
| getMvStore | back to summary |
|---|---|
| public MVStore getMvStore() | |
| getTable | back to summary |
|---|---|
| public MVTable getTable(String tableName) Get MVTable by table name. | |
| getTransactionStore | back to summary |
|---|---|
| public TransactionStore getTransactionStore() | |
| nextTemporaryMapName | back to summary |
|---|---|
| public synchronized String nextTemporaryMapName() Get the name of the next available temporary map.
| |
| prepareCommit | back to summary |
|---|---|
| public void prepareCommit(SessionLocal session, String transactionName) Prepare a transaction.
| |
| removeTable | back to summary |
|---|---|
| public void removeTable(MVTable table) Remove a table.
| |
| removeTemporaryMaps | back to summary |
|---|---|
| public void removeTemporaryMaps(BitSet objectIds) Remove all temporary maps.
| |
| setCacheSize | back to summary |
|---|---|
| public void setCacheSize(int kb) Set the maximum memory to be used by the cache.
| |
| statisticsEnd | back to summary |
|---|---|
| public Map Stop collecting statistics. | |
| statisticsStart | back to summary |
|---|---|
| public void statisticsStart() Start collecting statistics. | |
| sync | back to summary |
|---|---|
| public void sync() Force the changes to disk. | |