-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
154 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ plugins { | |
} | ||
|
||
group = "io.github.gc-garcol" | ||
version = "0.4.0" | ||
version = "1.0.0" | ||
|
||
java { | ||
withJavadocJar() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ plugins { | |
} | ||
|
||
group = "io.github.gc-garcol" | ||
version = "0.4.0" | ||
version = "1.0.0" | ||
|
||
java { | ||
toolchain { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package gc.garcol.walcore; | ||
|
||
import java.nio.ByteBuffer; | ||
|
||
/** | ||
* The `LogReader` interface defines a functional interface for handling log entry data. | ||
* | ||
* <p> Implementations of this interface provide a method to process log entry data stored in a `ByteBuffer`. | ||
* This interface is used in conjunction with the `LogRepository` class to read and process log entries. | ||
* | ||
* @author thaivc | ||
* @since 2024 | ||
*/ | ||
@FunctionalInterface | ||
public interface LogReader | ||
{ | ||
/** | ||
* Handles log entry data. | ||
* | ||
* <p> This method is called to process log entry data stored in the provided `ByteBuffer`. | ||
* Implementations should define the logic to handle the log entry data. | ||
* | ||
* @param readBuffer the buffer containing the log entry data | ||
*/ | ||
void handle(ByteBuffer readBuffer); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters