You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2019/06/25 15:04:00 UTC

[jira] [Created] (JOHNZON-217) Allow to plugin in custom BufferStrategies

Mark Struberg created JOHNZON-217:
-------------------------------------

             Summary: Allow to plugin in custom BufferStrategies
                 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
             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)