johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JOHNZON-217) Allow to plugin in custom BufferStrategies
Date Tue, 25 Jun 2019 15:04:00 GMT
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)

Mime
View raw message