You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2017/03/07 13:16:38 UTC
[jira] [Created] (AMQ-6619) JournalDiskSyncStrategy setting should
be stored as an enum
Christopher L. Shannon created AMQ-6619:
-------------------------------------------
Summary: JournalDiskSyncStrategy setting should be stored as an enum
Key: AMQ-6619
URL: https://issues.apache.org/jira/browse/AMQ-6619
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.14.4
Reporter: Christopher L. Shannon
Assignee: Christopher L. Shannon
Fix For: 5.15.0, 5.14.5
In MessageDatabase we should store JournalDiskSyncStrategy as its enum value and not as a String. This is because this value needs to be checked on every write to the journal and using a String makes checking this value more expensive than it needs to be.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)