johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Resolved] (JOHNZON-217) Allow to plugin a custom BufferStrategy
Date Tue, 25 Jun 2019 20:38:00 GMT


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

> Allow to plugin a custom BufferStrategy
> ---------------------------------------
>                 Key: JOHNZON-217
>                 URL:
>             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

View raw message