Elastic Interview Question: What is a ReadWriteLock?... | Glassdoor.ie

Interview Question

Java Engineer Interview Remote, OR (US)

What is a ReadWriteLock?

Answer

Interview Answer

2 Answers

1

It's a special lock that allows either to have many threads accessing it in read mode or one thread in write mode. Especially if the underlying guarded data structure is meant to be accessed for reading operations much more often, this lock makes sense.

Interview Candidate on 21 Jul 2017
0

Wondering if anyone tried using Rooftop Slushie? Seems like you can ask questions and get answers from Elastic employees.

https://wwww.rooftopslushie.com

Anonymous on 15 Jul 2019

Add Answers or Comments

To comment on this, Sign In or Sign Up.