Skip to content

Commit

Permalink
rename FlatFile.addMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
bxfjb committed Jul 3, 2024
1 parent c9d68d6 commit 90a20af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public CompletableFuture<Boolean> doScheduleDispatch(FlatFileInterface flatFile,
message.release();
break;
}
flatFile.addMessage(message);
flatFile.addMessageToBufferList(message);
}

// If there are many messages waiting to be uploaded, call the upload logic immediately.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public interface FlatFileInterface {

long getConsumeQueueCommitOffset();

void addMessage(SelectMappedBufferResult bufferResult);
void addMessageToBufferList(SelectMappedBufferResult bufferResult);

/**
* Persist commit log file and consume queue file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void initOffset(long offset) {
}

@Override
public void addMessage(SelectMappedBufferResult message) {
public void addMessageToBufferList(SelectMappedBufferResult message) {
this.bufferResultList.add(message);
}

Expand Down

0 comments on commit 90a20af

Please sign in to comment.