@@ -334,6 +334,7 @@ public final long getRootPos(int mapId) {
334
334
* Specified map is supposedly closed, is anonymous and has no outstanding usage by now.
335
335
*
336
336
* @param mapId to deregister
337
+ * @return true if root was removed, false if it is not there
337
338
*/
338
339
public final boolean deregisterMapRoot (int mapId ) {
339
340
return layout .remove (MVMap .getMapRootKey (mapId )) != null ;
@@ -342,6 +343,7 @@ public final boolean deregisterMapRoot(int mapId) {
342
343
/**
343
344
* Check whether there are any unsaved changes since specified version.
344
345
*
346
+ * @param lastStoredVersion version to take as a base for changes
345
347
* @return if there are any changes
346
348
*/
347
349
public final boolean hasChangesSince (long lastStoredVersion ) {
@@ -814,7 +816,7 @@ protected void writeCleanShutdown() {
814
816
815
817
/**
816
818
* 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.<id> "
818
820
*
819
821
* @param chunk to save
820
822
*/
@@ -896,6 +898,7 @@ public void compactStore(long maxCompactTime) {
896
898
* @param thresholdFillRate do not compact if store fill rate above this value (0-100)
897
899
* @param maxCompactTime the maximum time in milliseconds to compact
898
900
* @param maxWriteSize the maximum amount of data to be written as part of this call
901
+ * @param mvStore that owns this FileStore
899
902
*/
900
903
protected abstract void compactStore (int thresholdFillRate , long maxCompactTime , int maxWriteSize , //
901
904
MVStore mvStore );
@@ -1216,6 +1219,7 @@ public void releaseWriteBuffer(WriteBuffer buff) {
1216
1219
1217
1220
/**
1218
1221
* The time the store was created, in milliseconds since 1970.
1222
+ * @return creation time
1219
1223
*/
1220
1224
public long getCreationTime () {
1221
1225
return creationTime ;
0 commit comments