[
https://issues.apache.org/jira/browse/JOHNZON-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved JOHNZON-217.
-----------------------------------
Resolution: Fixed
It's now possible to have a custom implementation of {{BufferStrategy}} and
configure it via the fully qualified classname. The old constants, like "QUEUE"
and "BY_INSTANCE" are still available.
> Allow to plugin a custom BufferStrategy
> ---------------------------------------
>
> Key: JOHNZON-217
> URL: https://issues.apache.org/jira/browse/JOHNZON-217
> Project: Johnzon
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.12
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 1.1.13
>
>
> BufferStrategy is right now an enum which contains a few pre-defined buffer
> strategies.
> For allowing custom BufferStrategies we should extract an interface out of it
> and have a lookup with the current enum constants.
> Alternatively one could also configure a fully qualified class name of a
> custom BufferStrategy which would be created via {{newInstance()}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)