John Yost created MYRIAD-201: -------------------------------- Summary: Myriad state objects should be immutable Key: MYRIAD-201 URL: https://issues.apache.org/jira/browse/MYRIAD-201 Project: Myriad Issue Type: Improvement Components: Scheduler Reporter: John Yost Priority: Minor
I recommend that all Myriad state objects that should remain unchanged following startup be refactored to be immutable. For objects that have some state that could change (i.e., Cluster), make the unchanging instance attributes immutable. Rendering as much state as possible to be immutable will hopefully prevent runtime errors and mysterious anomalies. -- This message was sent by Atlassian JIRA (v6.3.4#6332)