Jacob Barrett created GEODE-9851:
------------------------------------
Summary: Use strongly typed enums rather than int for enumeration
like values.
Key: GEODE-9851
URL: https://issues.apache.org/jira/browse/GEODE-9851
Project: Geode
Issue Type: Improvement
Reporter: Jacob Barrett
Internally register interest has both an interest policy and data storage
policy that it passes around as `int`. Since these values are finite and have
well defined values it makes sense to pass them as proper Java enums. Strongly
typing them provides compile time checks on acceptable values and makes the
code more readable.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)