-
-
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.
Change BufferRecyclerProvider -> BufferRecyclerPool
- Loading branch information
1 parent
c5f647e
commit cd4bcb4
Showing
5 changed files
with
75 additions
and
40 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
17 changes: 17 additions & 0 deletions
17
src/main/java/com/fasterxml/jackson/core/util/BufferRecyclerPool.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,17 @@ | ||
package com.fasterxml.jackson.core.util; | ||
|
||
import com.fasterxml.jackson.core.TokenStreamFactory; | ||
|
||
/** | ||
* Interface for entity that controls creation and possible reuse of {@link BufferRecycler} | ||
* instances used for recycling of underlying input/output buffers. | ||
* | ||
* @since 2.16 | ||
*/ | ||
public interface BufferRecyclerPool | ||
extends java.io.Serializable | ||
{ | ||
public BufferRecycler acquireBufferRecycler(TokenStreamFactory forFactory); | ||
|
||
public void releaseBufferRecycler(BufferRecycler recycler); | ||
} |
15 changes: 0 additions & 15 deletions
15
src/main/java/com/fasterxml/jackson/core/util/BufferRecyclerProvider.java
This file was deleted.
Oops, something went wrong.
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