-
-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
BufferRecyclerProvider
configuration (#1083)
- Loading branch information
1 parent
7adb383
commit c5f647e
Showing
6 changed files
with
95 additions
and
6 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
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
1 change: 0 additions & 1 deletion
1
src/main/java/com/fasterxml/jackson/core/json/UTF8DataInputJsonParser.java
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
15 changes: 15 additions & 0 deletions
15
src/main/java/com/fasterxml/jackson/core/util/BufferRecyclerProvider.java
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,15 @@ | ||
package com.fasterxml.jackson.core.util; | ||
|
||
import com.fasterxml.jackson.core.TokenStreamFactory; | ||
|
||
/** | ||
* Provider for {@link BufferRecycler}s to allow pluggable and optional | ||
* recycling of underlying input/output buffers. | ||
* | ||
* @since 2.16 | ||
*/ | ||
public interface BufferRecyclerProvider | ||
extends java.io.Serializable | ||
{ | ||
public abstract BufferRecycler acquireBufferRecycler(TokenStreamFactory forFactory); | ||
} |
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