Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are member variables in ONOS Component Classes thread safe and persistent. (Question) #119

Open
abhijith96 opened this issue Nov 3, 2023 · 0 comments

Comments

@abhijith96
Copy link

Hi, If I want to store some state information in a Component like the L2Brideging Component, what might be the best way to do that? Can I have an array List as a data member of Component Class and store data in it and expect it to persist across all events like Device Addition event, Link Addition event etc. If so, do I need to make that array List thread safe using locks or some other mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant