Skip to content

Commit 087522b

Browse files
committed
javadoc
1 parent 1ae052a commit 087522b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

h2/src/main/org/h2/command/ddl/CreateTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public long update() {
172172
}
173173

174174
/** This is called from REFRESH MATERIALIZED VIEW */
175-
public void insertAsData(Table table) {
175+
void insertAsData(Table table) {
176176
insertAsData(false, getDatabase(), table);
177177
}
178178

h2/src/main/org/h2/mvstore/FileStore.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ public final long getRootPos(int mapId) {
334334
* Specified map is supposedly closed, is anonymous and has no outstanding usage by now.
335335
*
336336
* @param mapId to deregister
337+
* @return true if root was removed, false if it is not there
337338
*/
338339
public final boolean deregisterMapRoot(int mapId) {
339340
return layout.remove(MVMap.getMapRootKey(mapId)) != null;
@@ -342,6 +343,7 @@ public final boolean deregisterMapRoot(int mapId) {
342343
/**
343344
* Check whether there are any unsaved changes since specified version.
344345
*
346+
* @param lastStoredVersion version to take as a base for changes
345347
* @return if there are any changes
346348
*/
347349
public final boolean hasChangesSince(long lastStoredVersion) {
@@ -814,7 +816,7 @@ protected void writeCleanShutdown() {
814816

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

12171220
/**
12181221
* The time the store was created, in milliseconds since 1970.
1222+
* @return creation time
12191223
*/
12201224
public long getCreationTime() {
12211225
return creationTime;

0 commit comments

Comments
 (0)