Skip to content

Commit

Permalink
javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
andreitokar committed Jul 3, 2023
1 parent 1ae052a commit 087522b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion h2/src/main/org/h2/command/ddl/CreateTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public long update() {
}

/** This is called from REFRESH MATERIALIZED VIEW */
public void insertAsData(Table table) {
void insertAsData(Table table) {
insertAsData(false, getDatabase(), table);
}

Expand Down
6 changes: 5 additions & 1 deletion h2/src/main/org/h2/mvstore/FileStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ public final long getRootPos(int mapId) {
* Specified map is supposedly closed, is anonymous and has no outstanding usage by now.
*
* @param mapId to deregister
* @return true if root was removed, false if it is not there
*/
public final boolean deregisterMapRoot(int mapId) {
return layout.remove(MVMap.getMapRootKey(mapId)) != null;
Expand All @@ -342,6 +343,7 @@ public final boolean deregisterMapRoot(int mapId) {
/**
* Check whether there are any unsaved changes since specified version.
*
* @param lastStoredVersion version to take as a base for changes
* @return if there are any changes
*/
public final boolean hasChangesSince(long lastStoredVersion) {
Expand Down Expand Up @@ -814,7 +816,7 @@ protected void writeCleanShutdown() {

/**
* Store chunk's serialized metadata as an entry in a layout map.
* Key for this entry would be "chunk.<id>"
* Key for this entry would be "chunk.&lt;id&gt;"
*
* @param chunk to save
*/
Expand Down Expand Up @@ -896,6 +898,7 @@ public void compactStore(long maxCompactTime) {
* @param thresholdFillRate do not compact if store fill rate above this value (0-100)
* @param maxCompactTime the maximum time in milliseconds to compact
* @param maxWriteSize the maximum amount of data to be written as part of this call
* @param mvStore that owns this FileStore
*/
protected abstract void compactStore(int thresholdFillRate, long maxCompactTime, int maxWriteSize, //
MVStore mvStore);
Expand Down Expand Up @@ -1216,6 +1219,7 @@ public void releaseWriteBuffer(WriteBuffer buff) {

/**
* The time the store was created, in milliseconds since 1970.
* @return creation time
*/
public long getCreationTime() {
return creationTime;
Expand Down

0 comments on commit 087522b

Please sign in to comment.