You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The seekers have a concept of a ConcurrentClone() which creates a low cost clone of a seeker so that the SeekerManager can maintain one per read concurrency. This was originally included in the design as the Seeker contained a lot of state that was not safe for concurrent access.
With recent improvements / refactorings to the Seekers there is very little state left in the seekers themselves. Its likely that the concept of a ConcurrentClone could be removed entirely which would simplify the codebase and be a little cleaner generally.
In addition, the Seeker has a concept of an unreadBuf that can be set by an external caller. With the recent introduction of ReusableSeekerResources there is no reason to maintain the unreadBuf and the unreadBuffer() and setUnreadBuffer() methods. Any reusable or shared buffer can simply be included in the ReusableSeekerResources() which is provided as an argument for all relevant function calls.
The text was updated successfully, but these errors were encountered:
The seekers have a concept of a
ConcurrentClone()
which creates a low cost clone of a seeker so that theSeekerManager
can maintain one per read concurrency. This was originally included in the design as theSeeker
contained a lot of state that was not safe for concurrent access.With recent improvements / refactorings to the
Seekers
there is very little state left in the seekers themselves. Its likely that the concept of aConcurrentClone
could be removed entirely which would simplify the codebase and be a little cleaner generally.In addition, the
Seeker
has a concept of anunreadBuf
that can be set by an external caller. With the recent introduction ofReusableSeekerResources
there is no reason to maintain theunreadBuf
and theunreadBuffer()
andsetUnreadBuffer()
methods. Any reusable or shared buffer can simply be included in theReusableSeekerResources()
which is provided as an argument for all relevant function calls.The text was updated successfully, but these errors were encountered: